| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Fixes the QA warnings about package contains reference to TMPDIR.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bumping xen to version RELEASE-4.17.0-89-ge4a5fb9227, which comprises the following commits:
e4a5fb9227 CI: Remove llvm-8 from the Debian Stretch container
435a1e5e8f automation: Remove non-debug x86_32 build jobs
8c414bab30 automation: Remove CentOS 7.2 containers and builds
e3b23da4a1 automation: Switch arm32 cross builds to run on arm64
4c0d792675 CI: Drop automation/configs/
7758cd57e0 ns16550: correct name/value pair parsing for PCI port/bridge
85100ed78c vpci/msix: handle accesses adjacent to the MSI-X table
3506935824 include: don't mention stub headers more than once in a make rule
7f55774489 x86/ucode: Fix error paths control_thread_fn()
f6a3e93b37 x86/vmx: Don't spuriously crash the domain when INIT is received
11c8ef59b9 x86/shadow: Fix build with no PG_log_dirty
00aa5c93d1 x86/nospec: Fix evaluate_nospec() code generation under Clang
6f2d89d681 x86/shadow: fix and improve sh_page_has_multiple_shadows()
33b1c8cd86 VT-d: fix iommu=no-igfx if the IOMMU scope contains fake device(s)
3c85fb7b65 AMD/IOMMU: without XT, x2APIC needs to be forced into physical mode
3eac216e6e libacpi: fix PCI hotplug AML
7082d656ae bunzip: work around gcc13 warning
f971f5c531 VT-d: constrain IGD check
d84612ecab x86/altp2m: help gcc13 to avoid it emitting a warning
b5409f4e4d core-parking: fix build with gcc12 and NR_CPUS=1
b4dad09bb2 x86/spec-ctrl: Add BHI controls to userspace components
244d39fb13 tools/xenmon: Fix xenmon.py for with python3.x
651ffe2c78 tools/python: change 's#' size type for Python >= 3.10
b745ff3011 x86/vmx: implement Notify VM Exit
27abea1ba6 x86/vmx: introduce helper to set VMX_INTR_SHADOW_NMI
83f12e4eaf x86/vmx: implement VMExit based guest Bus Lock detection
a730e4d119 x86/spec-ctrl: Defer CR4_PV32_RESTORE on the cstar_enter path
a2a915b396 x86/HVM: serialize pinned cache attribute list manipulation
d0cb66d59a x86/HVM: bound number of pinned cache attribute regions
f8f8f07880 x86/shadow: account for log-dirty mode when pre-allocating
ec5b058d2a x86/ucode/AMD: late load the patch on every logical thread
fa8250f192 libs/guest: Fix leak on realloc failure in backup_ptes()
01f85d835b libs/guest: Fix resource leaks in xc_core_arch_map_p2m_tree_rw()
53bd16bcc0 tools: Use PKG_CONFIG_FILE instead of PKG_CONFIG variable
b10cf1561a xen: Fix Clang -Wunicode diagnostic when building asm-macros
837bdc6eb2 xen: Work around Clang-IAS macro \@ expansion bug
e8f28e129d x86: perform mem_sharing teardown before paging teardown
e9a7942f6c x86/ucode/AMD: apply the patch early on every logical thread
46c104cce0 build: make FILE symbol paths consistent
74b76704fd credit2: respect credit2_runqueue=all when arranging runqueues
8202b9cf84 x86/shskt: Disable CET-SS on parts susceptible to fractured updates
cdc23d47ad x86/cpuid: Infrastructure for leaves 7:1{ecx,edx}
c622b8ace9 libs/util: Fix parallel build between flex/bison and CC rules
aaf74a532c automation: Remove clang-8 from Debian unstable container
3685e754e6 x86/spec-ctrl: Mitigate Cross-Thread Return Address Predictions
587823eca1 tools/ocaml/libs: Fix memory/resource leaks with caml_alloc_custom()
bf935b1ff7 tools/ocaml/xc: Don't reference Abstract_Tag objects with the GC lock released
afdcc10856 tools/ocaml/xc: Fix binding for xc_domain_assign_device()
021b82cc0c tools/ocaml/evtchn: Don't reference Custom objects with the GC lock released
5797b798a5 tools/ocaml/libs: Allocate the correct amount of memory for Abstract_tag
2c21e1bee6 tools/ocaml/libs: Don't declare stubs as taking void
e74d868b48 tools/oxenstored: validate config file before live update
f0e653fb4a tools/ocaml/xb: Drop Xs_ring.write
7d516fc876 tools/ocaml/xb,mmap: Use Data_abstract_val wrapper
5d8f9cfa16 tools/ocaml/xenctrl: Use larger chunksize in domain_getinfolist
03f545b6cf tools/ocaml/xenctrl: Make domain_getinfolist tail recursive
3dae50283d libxl: fix guest kexec - skip cpuid policy
d012788137 ns16550: fix an incorrect assignment to uart->io_size
819a5d4ed8 build: fix building flask headers before descending in flask/ss/
2d74e7035b x86/shadow: fix PAE check for top-level table unshadowing
e904d8ae01 x86/vmx: Support for CPUs without model-specific LBR
5e3250258a x86/vmx: Calculate model-specific LBRs once at start of day
c871e05e13 include/compat: produce stubs for headers not otherwise generated
1d7a388e7b tools: Fix build with recent QEMU, use "--enable-trace-backends"
a470a83c36 x86/S3: Restore Xen's MSR_PAT value on S3 resume
2f8851c37f Revert "tools/xenstore: simplify loop handling connection I/O"
c4972a4272 tools/oxenstored: Render backtraces more nicely in Syslog
91a9ac6e9b tools/oxenstored/syslog: Avoid potential NULL dereference
e13a9a2146 tools/oxenstored: Set uncaught exception handler
991b512f5f tools/oxenstored: Log live update issues at warning level
f02171b663 tools/oxenstored: Keep /dev/xen/evtchn open across live update
4b418768ef tools/oxenstored: Rework Domain evtchn handling to use port_pair
a20daa7ffd tools/oxenstored: Implement Domain.rebind_evtchn
fd0d9b0597 tools/oxenstored: Rename some 'port' variables to 'remote_port'
bc5cc00868 tools/oxenstored: Bind the DOM_EXC VIRQ in in Event.init()
0929960173 tools/oxenstored: Style fixes to Domain
c7cf603836 tools/ocaml/evtchn: Extend the init() binding with a cloexec flag
24d9dc2ae2 tools/ocaml/evtchn: Add binding for xenevtchn_fdopen()
d11528a993 tools/ocaml/evtchn: OCaml 5 support, fix potential resource leak
2e8d7a08bc tools/oxenstored: Fix incorrect scope after an if statement
a7a26da0b5 x86/time: prevent overflow with high frequency TSCs
1dcc9b6dfe EFI: relocate the ESRT when booting via multiboot2
c3e37c60fb ioreq_broadcast(): accept partial broadcast success
26f39b3d70 x86/HVM: don't mark evtchn upcall vector as pending when vLAPIC is disabled
5810edc049 x86/Viridian: don't mark IRQ vectors as pending when vLAPIC is disabled
54bb56e128 x86/HVM: don't mark external IRQs as pending when vLAPIC is disabled
b7b34bd66a x86/pvh: do not forward MADT Local APIC NMI structures to dom0
9cbc04a95f x86/irq: do not release irq until all cleanup is done
0b999fa2ea update Xen version to 4.17.1-pre
11560248ff Use EfiACPIReclaimMemory for ESRT
d50a866d88 SUPPORT.md: Define support lifetime
4aa115ea4e Set 4.17 version
7b96d2d71b CHANGELOG: Set 4.17 release date and tag
9da9560a53 README: make heading say 4.17
74e2a324e8 Config.mk: Bump tags to 4.17.0 final
100c3416b5 x86/HVM+shim: fix build when !CONFIG_GRANT_TABLE
942f881eb1 tools/include: fix clean and rework COPYING for installed Xen public header
894a7786c8 Turn off debug by default
d86fb95cfd SUPPORT.md: Set Releases Notes link
f51079b5d8 Config.mk: switch to named tags (for stable branch)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bumping xen to version RELEASE-4.17.0-89-ge4a5fb9227, which comprises the following commits:
e4a5fb9227 CI: Remove llvm-8 from the Debian Stretch container
435a1e5e8f automation: Remove non-debug x86_32 build jobs
8c414bab30 automation: Remove CentOS 7.2 containers and builds
e3b23da4a1 automation: Switch arm32 cross builds to run on arm64
4c0d792675 CI: Drop automation/configs/
7758cd57e0 ns16550: correct name/value pair parsing for PCI port/bridge
85100ed78c vpci/msix: handle accesses adjacent to the MSI-X table
3506935824 include: don't mention stub headers more than once in a make rule
7f55774489 x86/ucode: Fix error paths control_thread_fn()
f6a3e93b37 x86/vmx: Don't spuriously crash the domain when INIT is received
11c8ef59b9 x86/shadow: Fix build with no PG_log_dirty
00aa5c93d1 x86/nospec: Fix evaluate_nospec() code generation under Clang
6f2d89d681 x86/shadow: fix and improve sh_page_has_multiple_shadows()
33b1c8cd86 VT-d: fix iommu=no-igfx if the IOMMU scope contains fake device(s)
3c85fb7b65 AMD/IOMMU: without XT, x2APIC needs to be forced into physical mode
3eac216e6e libacpi: fix PCI hotplug AML
7082d656ae bunzip: work around gcc13 warning
f971f5c531 VT-d: constrain IGD check
d84612ecab x86/altp2m: help gcc13 to avoid it emitting a warning
b5409f4e4d core-parking: fix build with gcc12 and NR_CPUS=1
b4dad09bb2 x86/spec-ctrl: Add BHI controls to userspace components
244d39fb13 tools/xenmon: Fix xenmon.py for with python3.x
651ffe2c78 tools/python: change 's#' size type for Python >= 3.10
b745ff3011 x86/vmx: implement Notify VM Exit
27abea1ba6 x86/vmx: introduce helper to set VMX_INTR_SHADOW_NMI
83f12e4eaf x86/vmx: implement VMExit based guest Bus Lock detection
a730e4d119 x86/spec-ctrl: Defer CR4_PV32_RESTORE on the cstar_enter path
a2a915b396 x86/HVM: serialize pinned cache attribute list manipulation
d0cb66d59a x86/HVM: bound number of pinned cache attribute regions
f8f8f07880 x86/shadow: account for log-dirty mode when pre-allocating
ec5b058d2a x86/ucode/AMD: late load the patch on every logical thread
fa8250f192 libs/guest: Fix leak on realloc failure in backup_ptes()
01f85d835b libs/guest: Fix resource leaks in xc_core_arch_map_p2m_tree_rw()
53bd16bcc0 tools: Use PKG_CONFIG_FILE instead of PKG_CONFIG variable
b10cf1561a xen: Fix Clang -Wunicode diagnostic when building asm-macros
837bdc6eb2 xen: Work around Clang-IAS macro \@ expansion bug
e8f28e129d x86: perform mem_sharing teardown before paging teardown
e9a7942f6c x86/ucode/AMD: apply the patch early on every logical thread
46c104cce0 build: make FILE symbol paths consistent
74b76704fd credit2: respect credit2_runqueue=all when arranging runqueues
8202b9cf84 x86/shskt: Disable CET-SS on parts susceptible to fractured updates
cdc23d47ad x86/cpuid: Infrastructure for leaves 7:1{ecx,edx}
c622b8ace9 libs/util: Fix parallel build between flex/bison and CC rules
aaf74a532c automation: Remove clang-8 from Debian unstable container
3685e754e6 x86/spec-ctrl: Mitigate Cross-Thread Return Address Predictions
587823eca1 tools/ocaml/libs: Fix memory/resource leaks with caml_alloc_custom()
bf935b1ff7 tools/ocaml/xc: Don't reference Abstract_Tag objects with the GC lock released
afdcc10856 tools/ocaml/xc: Fix binding for xc_domain_assign_device()
021b82cc0c tools/ocaml/evtchn: Don't reference Custom objects with the GC lock released
5797b798a5 tools/ocaml/libs: Allocate the correct amount of memory for Abstract_tag
2c21e1bee6 tools/ocaml/libs: Don't declare stubs as taking void
e74d868b48 tools/oxenstored: validate config file before live update
f0e653fb4a tools/ocaml/xb: Drop Xs_ring.write
7d516fc876 tools/ocaml/xb,mmap: Use Data_abstract_val wrapper
5d8f9cfa16 tools/ocaml/xenctrl: Use larger chunksize in domain_getinfolist
03f545b6cf tools/ocaml/xenctrl: Make domain_getinfolist tail recursive
3dae50283d libxl: fix guest kexec - skip cpuid policy
d012788137 ns16550: fix an incorrect assignment to uart->io_size
819a5d4ed8 build: fix building flask headers before descending in flask/ss/
2d74e7035b x86/shadow: fix PAE check for top-level table unshadowing
e904d8ae01 x86/vmx: Support for CPUs without model-specific LBR
5e3250258a x86/vmx: Calculate model-specific LBRs once at start of day
c871e05e13 include/compat: produce stubs for headers not otherwise generated
1d7a388e7b tools: Fix build with recent QEMU, use "--enable-trace-backends"
a470a83c36 x86/S3: Restore Xen's MSR_PAT value on S3 resume
2f8851c37f Revert "tools/xenstore: simplify loop handling connection I/O"
c4972a4272 tools/oxenstored: Render backtraces more nicely in Syslog
91a9ac6e9b tools/oxenstored/syslog: Avoid potential NULL dereference
e13a9a2146 tools/oxenstored: Set uncaught exception handler
991b512f5f tools/oxenstored: Log live update issues at warning level
f02171b663 tools/oxenstored: Keep /dev/xen/evtchn open across live update
4b418768ef tools/oxenstored: Rework Domain evtchn handling to use port_pair
a20daa7ffd tools/oxenstored: Implement Domain.rebind_evtchn
fd0d9b0597 tools/oxenstored: Rename some 'port' variables to 'remote_port'
bc5cc00868 tools/oxenstored: Bind the DOM_EXC VIRQ in in Event.init()
0929960173 tools/oxenstored: Style fixes to Domain
c7cf603836 tools/ocaml/evtchn: Extend the init() binding with a cloexec flag
24d9dc2ae2 tools/ocaml/evtchn: Add binding for xenevtchn_fdopen()
d11528a993 tools/ocaml/evtchn: OCaml 5 support, fix potential resource leak
2e8d7a08bc tools/oxenstored: Fix incorrect scope after an if statement
a7a26da0b5 x86/time: prevent overflow with high frequency TSCs
1dcc9b6dfe EFI: relocate the ESRT when booting via multiboot2
c3e37c60fb ioreq_broadcast(): accept partial broadcast success
26f39b3d70 x86/HVM: don't mark evtchn upcall vector as pending when vLAPIC is disabled
5810edc049 x86/Viridian: don't mark IRQ vectors as pending when vLAPIC is disabled
54bb56e128 x86/HVM: don't mark external IRQs as pending when vLAPIC is disabled
b7b34bd66a x86/pvh: do not forward MADT Local APIC NMI structures to dom0
9cbc04a95f x86/irq: do not release irq until all cleanup is done
0b999fa2ea update Xen version to 4.17.1-pre
11560248ff Use EfiACPIReclaimMemory for ESRT
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
xen-tools and xen (and possibly others) fail to compile with clang, with the following error:
configure: error: in `/builder/meta-arm/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.17+stableAUTOINC+11560248ff-r0/git/tools':
configure: error: C compiler cannot create executables
See `config.log' for more details
configure: error: ./configure failed for tools
Force all of xen to use gcc until this issue can be resolved.
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It has been reported that xen can fail to build with the
following error:
| In file included from xsm/flask/ss/services.c:46:
| ./xsm/flask/include/avc.h:18:10: fatal error: av_permissions.h: No
such file or directory
| 18 | #include "av_permissions.h"
| | ^~~~~~~~~~~~~~~~~~
This fix has been proposed upstream:
https://lore.kernel.org/xen-devel/20230120133626.55680-1-anthony.perard@citrix.com/T/#u
It doesn't break our build, so we include it for stress testing.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
We adjusted xen-tools in 4.17 to account for /var/lib/xenstored
not being present, but we didn't apply the same adjustment to
the systemd packages.
We move the service packaging to the 4.16 versioned recipe, as
anything newer than that, won't have the .mount file.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add recipes for xen and tools for the newly released 4.17 version and
take the opportunity to update master recipes.
Reflect 4.17 tools changes in xen-tools.inc:
- add test-paging-mempool to test package,
- add init-dom0less script to xl package,
- add localstatedir to xencommons package (this is needed as from 4.17
onwards, there is no /var/lib/xenstored resulting in /var being
installed but not shipped in any package).
Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Michal Orzel <michal.orzel@amd.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Update 4.16 recipes to use the latest 4.16.3 release.
Also, remove the GCC 12 fix patch as it seems to be no longer needed.
Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Michal Orzel <michal.orzel@amd.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
| |
The existing 4.16 recipes are the current preferred Xen version, so
per the Xen version update policy, the 4.15 recipes can now be removed.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
| |
Update to use the latest stable 4.16 release.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Nothing in Xen respects --enable-sdl, and nothing in Xen links to libSDL,
so this PACKAGECONFIG is obsolete.
It looks like the last user of SDL in Xen was removed in "Remove
internal tools/ioemu tree"[1] back in 2008.
[1] xen 19dc3860dcfde9bc4ec4ef35bb1337e13276f630
Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To fix warnings when the buildpaths QA test is enabled, pass the file
and debug prefix map options that were previously supplied only for
reproducible builds, adding them to the DEBUG_PREFIX_MAP variable
and supplying that to CC.
Testing indicates that passing the prefix maps needs to be via CC
rather than the EXTRA_CFLAGS_XEN_CORE/TOOLS variables.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
| |
xen-tools has an optional dependency on LZO. As this is a unmaintained
compression format with better alternatives (such as Zstd), disable it
by default.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
There's no fix in the xen repository to fix gcc 12 issues yet, but
there is one in the opensuse infrastructure.
We import that change from: https://build.opensuse.org/package/view_file/openSUSE:Factory/xen/gcc12-fixes.patch?expand=1
to at least get things building and allow runtime testing against gcc
12.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Spectre and Meltdown mitigations for Xen run PV guests within
HVM virtual machines, so Qemu is no longer only needed for systems
configured to run HVM guests.
With the split xen hypervisor and tools recipes, the bios dependencies
belong in the tools recipe, so move them and replace the hvm
PACKAGECONFIG option with the recommendation based on target arch.
Signed-off-by: Christopher Clark <christopher.clark@starlab.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit [xen-tools: don't declare xencommons as an initscript for
systemd] was wrong in an amazing two ways. It has an extranenous
} and it has inverted logic.
The result is that xencommons is not being properly declared as
an initscript for sysvinit, and hence we don't fully boot. It
isn't a problem for most systemd configurations, so we were
booting as the initscript wasn't firing.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
We previously disabled init.d/xencommons when systemd is the
init system (to fix duplicate initialization of some resources),
but during rootfs install, update-rc.d will look for the script
if xencommons is declared as an initscript package.
We match the installation and only delcare it as an initscript
in a non systemd configuration.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
We shall only have recipes for the last two stable releases, thus
get rid of the 4.14 recipes and the corresponding patches.
Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add recipes for Xen 4.16 release as, according to the documentation
we shall have recipes for the latest stable major version of Xen
before the next Yocto release. Bump PREFERED_VERSION to 4.16 as well.
Take the opportunity to update SRCREV of xen recipes for master
and bump XEN_REL version to 4.17 as this is the current development
version.
Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Bump SRCREV version of xen recipes to use the latest 4.15 release
which is 4.15.2.
Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The commit [ xen: only package xencommon systemd components if systemd
is enabled] attempted to only package init.d scripts for non-systemd
systems (and vice-versa for unit files).
But the xen-tools builds installs the files uncondtionally, so we can
end up with unpackaged files in some configurations. We can test on
the init system and removed the unused versions of the init to avoid
both packging and runtime issues.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
We've had reports of both the init.d xencommons and the systemd
services attempting to initialize the console, and breaking boot.
The systemd initialization really only needs to be enabled when
systemd is in DISTRO_FEATURES, and init.d the opposite.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After 4.16 release, Xen build system has been changed significantly.
When building latest status of Xen it was observed that commit
317c98cb91 broke the hypervisor build on arm32 due to the change in
handling Rules.mk that xen.inc modifies to override CC and CPP.
In order to fix the issue this patch moves overriding CC and CPP from
Rules.mk to make command line by adding them to EXTRA_OEMAKE:arm.
Take the opportunity to bump SRCREV of xen_git.bb and xen-tools_git.bb
to the current status of master.
Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
These changes are the result of running the convert-spdx-licenses.py
oe-core script.
There's no impact to the build, but we will avoid issues when
interacting with core QA by the alignment.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Xen build may fail for arm machines that have enabled extra flags,
that can be enabled only for specific architecture version, e.g. armv8-2a.
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Acked-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch changes the location of xen.conf file, that contains list of kernel
modules to be loaded during system boot, to "${nonarch_libdir}". This is done
by removing '--with-systemd-modules-load=' flag from EXTRA_OECONF variable.
Previous path based on "${systemd_unitdir}" was not considered by default by
systemd-modules-load.service.
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Acked-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Xen's networking for guests is typically configured using bridges and
the standalone ifupdown package, which contains a more capable version
of the tool than busybox, is needed to configure them, so:
Increase the recommendation strength from RSUGGESTS to RRECOMMENDS to
bring the package in by default, which fixes networking for images built
with packaging formats that follow RRECOMMENDS but not RSUGGESTS.
I should've paid closer attention to Corey's recommendation for this, so:
Suggested-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
| |
prelink is no longer default enabled and has been recommended to be
disabled since OE-core f9719cc1.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As introduced in the oe-core post:
https://lists.openembedded.org/g/openembedded-core/message/157623
SRC_URIs without an explicit branch will generate warnings, and
eventually be an error.
We run the provided conversion script to make sure that meta-virt
is ready for the change.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the SHA in recipes for xen and xen-tools to use the latest releases;
update xen 4.14 to xen 4.14.3 release, update xen 4.15 to 4.15.1 release, and
xen 4.16 to the current master version.
Add a comment to each recipe indicating which version of Xen is used in recipe.
Do not apply patches that have been merged/solved in Xen and remove patch files
not needed anymore.
Create a test package to pack new tests introduced in 4.16.
Add a depencency to util-linux-prlimit, as the xen 4.16 x86 requires prlimit,
without this boot of dom0 fails.
Signed-off-by: Edward Pickup <Edward.Pickup@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
New oe-core pulls in less default dependencies[1], so add an explicit
inherit of pkgconfig as it is needed to configure Xen.
[1] https://lists.openembedded.org/g/openembedded-core/message/156185
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
| |
Upstream patch applied to each Xen and Xen tools recipe to fix the build
of the hypervisor and shim with GNU linker 2.37.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OEcore/bitbake are moving to use the clearer ":" as an overrides
separator.
This is pass one of updating the meta-virt recipes to use that
syntax.
This has only been minimally build/runtime tested, more changes
will be required for missed overrides, or incorrect conversions
Note: A recent bitbake is required:
commit 75fad23fc06c008a03414a1fc288a8614c6af9ca
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Sun Jul 18 12:59:15 2021 +0100
bitbake: data_smart/parse: Allow ':' characters in variable/function names
It is becomming increasingly clear we need to find a way to show what
is/is not an override in our syntax. We need to do this in a way which
is clear to users, readable and in a way we can transition to.
The most effective way I've found to this is to use the ":" charater
to directly replace "_" where an override is being specified. This
includes "append", "prepend" and "remove" which are effectively special
override directives.
This patch simply adds the character to the parser so bitbake accepts
the value but maps it back to "_" internally so there is no behaviour
change.
This change is simple enough it could potentially be backported to older
version of bitbake meaning layers using the new syntax/markup could
work with older releases. Even if other no other changes are accepted
at this time and we don't backport, it does set us on a path where at
some point in future we could
require a more explict syntax.
I've tested this patch by converting oe-core/meta-yocto to the new
syntax for overrides (9000+ changes) and then seeing that builds
continue to work with this patch.
(Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
| |
The SECURITY_FLAGS are already passed into the tools build in
HOST_CC_ARCH so this separate case override is not needed.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Newer XTF revision works around GCC 11.1 issue 99578 and
supplying the correct linker to use fixes the build.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ensure that the Xen build system variables EXTRA_CFLAGS_XEN_CORE and
EXTRA_CFLAGS_XEN_TOOLS are passed into the compile steps.
Update the hypervisor compilation to avoid passing in most compile flags
from the build environment via EXTRA_CFLAGS_XEN_CORE -- prefer the
compiler defaults and the flags set by the Xen build system, so only the
debug prefix flags are provided.
Observeration derived from the prior commit e99974aa, so:
Reported-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Apply patches for the tools and hypervisor to Xen 4.15 and the git
recipe and uprev Xen 4.14 to latest stable revision.
Retire the previous -Wno-vla-parameter workaround.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When compiling xen-tools (4.14 and 4.15) with gcc-11 the following kind of
errors are produced:
linux.c:164:50: error: argument 7 of type 'const xen_pfn_t[]' {aka 'const long unsigned int[]'} declared as an ordinary array [-Werror=vla-parameter]
164 | const xen_pfn_t arr[/*num*/], int err[/*num*/])
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
Workaround it by passing -Wno-vla-parameter to the compiler.
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
python2 is no longer supported, and we are breaking yocto layer
compatibilty by keeping this recipe around (since there is no
provider of 'python').
This hasn't been updated in over a year, so it is time to retire
it.
If it is required, we can bring it back in some other manner.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
| |
The latest Xen Test Framework has removed the gcc-multilib dependency.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
| |
Xen 4.15 added support for standalone x86-64 hvmloader build and
previous commit provided Xen 4.14 backports.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
| |
Backport Xen patches to enable hvmloader to be built without needing
32-bit glibc.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
| |
This reverts commit 069414da384d8acdf87d764e6a924f8811ac0d8d.
|
|
|
|
|
|
|
|
|
|
| |
As per the policy, we'll keep 4.15 and 4.16+ in master, while
leaving 4.14 availability in the hardknott branch.
Further on in the development cycle, we'll add 4.16 and move
dev to 4.17+ before release.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
| |
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Describes the versions of Xen to be included in meta-virtualization
and recipe maintenance in release branches.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|