summaryrefslogtreecommitdiffstats
path: root/recipes-extended
Commit message (Collapse)AuthorAgeFilesLines
* virt-viewer: fix buildpaths QA warningBruce Ashfield2022-12-071-0/+7
| | | | | | | | | | | | | | The file virt-viewer-enums.c in the virt-viewer src is generated by glib-mkenums. glib-mkenums is embedding full paths into this file. There's no option for this utility to use a sysroot style variable. So to avoid QA errors, we sed WORKDIR out of the generated file (after build, before packaging) and make its includes relative. The file can then be packaged into virt-viewer-src without a QA error. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* virt-viewer: add recipeMarkus Volk2022-12-071-0/+29
| | | | | | | | | | | | | | | | | | | virt-viewer is a minimal tool for displaying the graphical console of a virtual machine. The console is accessed using the VNC or SPICE protocol. The guest can be referred to based on its name, ID, or UUID. If the guest is not already running, then the viewer can be told to wait until it starts before attempting to connect to the console. The viewer can connect directly to both local and remotely hosted machines , optionally using SSL/TLS encryption. virt-viewer is the required client for the debian based proxmox ve. That's also the environ- ment for which it was tested at runtime (only on x86_64). I have successfully compiled it for x86_64, aarch64 and qemumips. Other platforms might work (as long as gobject-introspection is available), but are untested. Adding the vnc protocol would pull in a layer dependency on meta-gnome. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt-glib: add recipeMarkus Volk2022-12-071-0/+14
| | | | | | | | | | | | | | | | | libvirt-glib wraps libvirt to provide a high-level object-oriented API better suited for glib-based applications, via three libraries: - libvirt-glib - GLib main loop integration & misc helper APIs - libvirt-gconfig - GObjects for manipulating libvirt XML documents - libvirt-gobject - GObjects for managing libvirt objects It is needed as a dependency for glib based projects that make use of libvirt e.g. virt-manager, virt-viewer or gnome boxes. Compilation was tested for x86_64, aarch64 and qemumips Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: support python 3.11sakib.sajal@windriver.com2022-11-222-2/+2
| | | | | | | | | | | | | | python3 has been upgraded to 3.11 in oe-core causing ceph do_configure to fail with the error: | Could NOT find Python3 (missing: Python3_LIBRARY Python3_INCLUDE_DIR | Development) (found suitable version "3.6.9", minimum required is "3") Support python 3.11 to fix the issue Upstream-Status: sent to upstream (https://github.com/ceph/ceph/pull/48947) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: remove package config qemu for powerpc and riscv32Kai Kang2022-10-261-1/+3
| | | | | | | | qemu is not compatible with ppc32 and riscv32, so remove libvirt's package config 'qemu' for them. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: remove the version 4.15 recipesChristopher Clark2022-10-082-38/+0
| | | | | | | | 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>
* xen, xen-tools: Bump SRCREV of the 4.16 recipes to 4.16.2Christopher Clark2022-10-082-4/+4
| | | | | | | 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>
* cloud-init: add Apache-2.0 as a LICENSE optionDan McGregor2022-10-041-2/+5
| | | | | | | | | | cloud-init has been dual licensed for a while. According to the LICENSE file this package is dual-licensed Apache 2 and GPL 3. This has been the case since commit b2a9f3361 in 2016. This has applied to every release since 17.1. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cloud-init: package nonarch_libdirDan McGregor2022-10-041-1/+2
| | | | | | | | cloud-init installs its data in nonarch_libdir, not libdir, so package that. On non-multilib builds this wouldn't be noticed. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: fix compile issuesakib.sajal@windriver.com2022-10-047-0/+576
| | | | | | | | | | | rocksdb has been updated to 7.5.3 in meta-oe causing ceph compilation to fail. Backport necessary patches to allow ceph to work with newer versions rocksdb. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kvmtool: update to latestBruce Ashfield2022-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping kvmtool to latest, which comprises the following commits: 336751f Makefile: Introduce LIBFDT_DIR to specify libfdt location 6c88c26 virtio/rng: Zero-initialize the device fe21827 virtio/pci: Deassert IRQ line on ISR read ae22ac7 Makefile: Fix ARCH override 3863f34 Makefile: Add missing build dependencies 6a1f699 arm64: pvtime: Use correct region size c86ef0b virtio/pci: Remove VIRTIO_PCI_F_SIGNAL_MSI 3d5cefc virtio/pci: Initialize all vectors to VIRTIO_MSI_NO_VECTOR 5fe5eb0 virtio: Add support for modern virtio-mmio 22a0823 virtio: Move MMIO transport to mmio-legacy b0d56e3 virtio: Add support for modern virtio-pci 930876d virtio: Move PCI transport to pci-legacy 3c8f82b virtio: Prepare for more feature bits de166e5 virtio/net: Set vhost backend after queue address 73fd136 virtio/pci: Use the correct eventfd for vhost notification 21c9bc7 virtio/pci: Make doorbell offset dynamic d060729 virtio: Extract init_vq() for PCI and MMIO c6590f7 virtio/pci: Delete MSI routes 8b91a18 arm64: Allow the user to specify the RAM base address 3f7e48f Introduce kvm__arch_default_ram_address() a37dad0 arm/arm64: Consolidate RAM initialization in kvm__init_ram() 5e9c654 kvm__arch_init: Remove hugetlbfs_path and ram_size as parameters a9c24ec builtin_run: Allow standard size specifiers for memory d6d4220 arm/arm64: Kill the ARM_HIMAP_MAX_MEMORY() macro 1af57dc arm/arm64: Kill the ARM_MAX_MEMORY() macro cce5a4f arm/arm64: Fail if RAM size is too large for 32-bit guests abe3f28 builtin-run: Add arch hook to validate VM configuration 28b9625 builtin-run: Rework RAM size validation 9d65519 builtin-run: Always use RAM size in bytes 024c331 Use MB for megabytes consistently d9fdaad arm: gic: fdt: fix PPI CPU mask calculation f44af23 virtio/pci: Factor MSI route creation 4842789 virtio/blk: Implement VIRTIO_F_ANY_LAYOUT feature e74b56e virtio/console: Add VIRTIO_F_ANY_LAYOUT feature 6daffe5 virtio/net: Implement VIRTIO_F_ANY_LAYOUT feature b231683 virtio/net: Prepare for modern virtio 8b27bcf virtio/net: Offload vnet header endianness conversion to tap c492534 Add memcpy_fromiovec_safe 902a8ec virtio: Remove set_guest_features() device op 17ad9fd virtio/console: Remove unused callback 867b15c virtio: Fix device-specific config endianness 15e6c4e virtio: Add config access helpers 609ee90 virtio: Support modern virtqueue addresses fd41cde virtio: Factor virtqueue initialization a8e397b virtio/vsock: Remove redundant state tracking 3a1e36e virtio: Remove redundant test 7efc262 virtio: Add NEEDS_RESET to the status mask b4531b2 riscv: Add missing asm/kernel.h header 6f6f384 mips: Do not emulate a serial device 8ec1e8b arm64: Honor --vcpu-affinity for aarch32 guests 1a992bb include: add new virtio uapi header files e539078 include: update virtio UAPI headers 393e218 util: include virtio UAPI headers in sync 7e22099 update virtio_mmio.h a68a52c kvmtool: Have stack be not executable on x86 31e0eac virtio: Check for overflows in QUEUE_NOTIFY and QUEUE_SEL e473028 virtio: Sanitize config accesses 3510a7f virtio/9p: Fix virtio_9p_config allocation size 06e1e6f virtio: Use u32 instead of int in pci_data_in/out 52d4ee7 mmio: Sanitize addr and len 143ffa2 kvmtool: Add WARN_ONCE macro bc77bf4 stat: Add descriptions for new virtio_balloon stat types 3a13530 virtio/balloon: Fix a crash when collecting stats 324cc09 aarch64: Give up with MTE for AArch32 guest 4639b72 arm64: Add --vcpu-affinity command line argument 1393bda arm64: Add support for KVM_ARM_VCPU_PMU_V3_SET_PMU 083a976 update_headers.sh: Sync ABI headers with Linux v5.18-rc2 0febaae Add cpumask functions 83713e7 arm64: Rework set_pmu_attr() f57ce44 arm: Make the PMUv3 emulation code arm64 specific b23aed2 arm: Get rid of the ARM_VCPU_FEATURE_FLAGS() macro 412ee13 arm: Move arch specific VCPU features to the arch specific function 5898515 arm/arm64: pmu.h: Add missing header guards d9b64eb linux/bitops.h: Include wordsize.h to provide the __WORDSIZE define 443cd88 linux/err.h: Add missing stdbool.h include 5657dd3 aarch64: Add support for MTE af1b793 update_headers.sh: Sync ABI headers with Linux v5.17 ffa8654 Make --no-pvtime command argument arm specific faae833 Revert "kvm tools: Filter out CPU vendor string" Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* irqbalance: Use built-in irqbalance.service instead of local oneHe Zhe2022-08-233-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The local irqbalanced.service was written long before when there wasn't one in upstream. Then upstream created temporary runtime directory /run/irqbalance in its irqbalanced.service, but no one did this for this recipe. Which renders the following error. /usr/sbin/irqbalance[314]: Daemon couldn't be bound to the file-based socket. This patch starts to use upstream irqbalance.service instead and remove the local one. root@qemux86-64:~# systemctl status irqbalanced * irqbalanced.service - irqbalance daemon Loaded: loaded (/lib/systemd/system/irqbalanced.service; enabled; preset: enabled) Active: active (running) since Mon 2022-08-22 10:10:22 UTC; 3s ago Docs: man:irqbalance(1) https://github.com/Irqbalance/irqbalance Main PID: 208 (irqbalance) Tasks: 2 (limit: 263) Memory: 1.4M CGroup: /system.slice/irqbalanced.service `-208 /usr/sbin/irqbalance --foreground Aug 22 10:10:22 qemux86-64 systemd[1]: Started irqbalance daemon. root@qemux86-64:~# ls -l /run/irqbalance/irqbalance208.sock srwxr-xr-x 1 root root 0 Aug 22 10:10 /run/irqbalance/irqbalance208.sock Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: Fix CVE-2021-3979Joe Slater2022-08-202-0/+159
| | | | | | | | | Ceph-volume does not properly control key sizes. Cherry-pick from github.com/ceph/ceph.git. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-image-minimal: reduce the x86 wic build dependenciesChristopher Clark2022-07-201-0/+2
| | | | | | | | | | | | | | | | | The Xen image recipe provides a default WKS_FILE for x86 builds to enable booting the image either in qemu or directly on hardware. Add settings for WKS_FILE_DEFAULT_DEPENDS that specify the wic image build dependencies, which are lower than the defaults used without it. This change reduces the amount of build resources required for CI of this image and images that are derived from it. Since WKS_FILE is specified separately for x86-64 and qemux86-64 overrides, do the same for WKS_FILE_DEFAULT_DEPENDS, even though the dependencies for the two separate WKS_FILEs are currently the same. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* fuse-overlayfs: Update to v1.9Andrei Gherzan2022-07-153-34/+38
| | | | | Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* fuse-overlayfs: Fix buffer overflow bug on workdir pathAndrei Gherzan2022-07-152-1/+36
| | | | | Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: remove obsolete sdl PACKAGECONFIGRoss Burton2022-07-131-2/+0
| | | | | | | | | | | | | | 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>
* xen, xen-tools: pass prefix maps to fix buildpaths reproducible build issuesChristopher Clark2022-07-101-11/+10
| | | | | | | | | | | | | 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>
* cloud-init: install sysvinit initscriptsJeremy Puhlman2022-06-271-0/+5
| | | | | | | The redhat versions work with out modification. Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cloud-init: add rdpends for netifaces and charset-normalizerJeremy Puhlman2022-06-271-0/+2
| | | | | Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cloud-init: add depend on udev in sysvinit case.Jeremy Puhlman2022-06-271-1/+2
| | | | | | | | Just as with systemd, the build needs the dev manager installed as a dependancy Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: make LZO dependency optionalRoss Burton2022-05-251-1/+1
| | | | | | | | | 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>
* ceph: fix gcc-12 compile failureChen Qi2022-05-253-0/+74
| | | | | | | Add two patches to fix gcc-12 compile failure. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: Fix class inherit in xen-imageBertrand Marquis2022-05-181-1/+1
| | | | | | | | | | | | | | Remove inherit of qemuboot classes when not build for qemu in xen-image-minimal. When reverted the handling for only adding inherited classes for qemu was kept but the line always inheriting them was kept to. This patch is fixing that so that qemuboot classes are now only added when the image is built for qemu. This fixes commit 27e5ade0abc2660226389b8b62ef07d85f4b8758 Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: Fix keeping restartingHe Zhe2022-05-181-3/+2
| | | | | | | | | LIBVIRTD_ARGS has been moved to libvirtd.service since v8.1.0. Move our mode setting accordingly, otherwise libvirt would keep restarting and VMs would be constantly stopped. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ipxe: Pin to use gccKhem Raj2022-05-121-2/+4
| | | | | | | | | Use single quote instead of double quotes to help bitabake syntax highlighter do right job 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>
* xen-tools: Fix build with GCC 12Khem Raj2022-05-091-0/+1
| | | | | | 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>
* seabios: Upgrade to 1.16 releaseKhem Raj2022-05-091-3/+4
| | | | | | | | Pin to use gcc as compiler always 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>
* Revert "qemuboot, xen-image-minimal: enable runqemu for qemuarm Xen images"Bruce Ashfield2022-05-091-2/+2
| | | | | | This reverts commit 1c746a976830ebaf85c7c8c25612bea349b0a7c5. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen/4.16: fix gcc 12 buildBruce Ashfield2022-05-092-0/+434
| | | | | | | | | | | 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>
* xen images, qemuboot: configure xenbr0 bridge for runqemu, testimageChristopher Clark2022-05-091-0/+2
| | | | | | | | | | | | | | Networking for Xen guest virtual machines is commonly configured via bridging in the host system between a physical interface and the guest virtual interfaces. To make it easier to test networking and use testimage with Xen guest virtual machines, extend the bbclass that provides network configuration for qemu machines for the Xen images to configure a Xen bridge and put eth0 onto it when QB_XEN_HOST_BRIDGE is set. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* qemuboot, xen-image-minimal: enable runqemu for qemuarm Xen imagesChristopher Clark2022-05-091-1/+5
| | | | | | | | | | | | | | | | | | | | | The Xen hypervisor built for Arm 32-bit targets can be launched with runqemu by providing a u-boot script and configuration for Qemu, which enables interactive testing of Xen images. Add qemuboot-xen-u-boot.bbclass to add a new bitbake task for generating the u-boot script. Since this increases the number of qemuboot-specific classes that are inherited by the xen-image-minimal recipe, change the inherit of all of these to only apply to qemu machines with the qemuall override. Update qemuboot-xen-defaults.bbclass to supply working default parameters for the qemuarm machine needed to boot successfully in testing. Also change all the arch-specific variable overrides into narrower qemu platform overrides instead to avoid unnecessary interactions with other Arm platform machines. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: add recommendation for Qemu for non-hvm x86Christopher Clark2022-05-092-10/+5
| | | | | | | | | | | | | 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>
* xen-tools: correct xencommons initscript for systemdBruce Ashfield2022-05-081-1/+1
| | | | | | | | | | | | | 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>
* xen: use vgabios 0.8aRoss Burton2022-05-021-2/+2
| | | | | Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* vgabios: upgrade to 0.8a and cleanup recipeRoss Burton2022-05-024-70/+55
| | | | | | | | | | | | | | | | | | | Upgrade to 0.8a. License checksum updated as the FSF street address changed. Apply a patch to use the correct host compiler when building biossums, removing the need for a separate biossums-native recipe. Don't hardcode /usr/share, use ${datadir}. Install all found firmware (including the new Banshee BIOS in 0.8a) and the debug files which were not installed but intended to be packaged. Remove redundant PR and S assignments, as these are the default values. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* dev86: fix a build raceRoss Burton2022-05-023-2/+45
| | | | | | | | | | Fix a race in cpp/ where token[12].h are written to a temporary file with the same name. Also update the status of cross.patch. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: Add missing space in append to IMAGE_INSTALLBertrand Marquis2022-04-261-2/+2
| | | | | | | | | Add a space before doing an append in IMAGE_INSTALL on x86. This is solving issues happening if someone is using IMAGE_INSTALL in local.conf to add things to the generated image. Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: Fix error on undefining domain and segfault on libvirt_driver_qemu.soHe Zhe2022-04-262-0/+53
| | | | | | | | | | | | | | | | | Backport a patch to fix segfault when undefining virtual machines. virsh undefine vm rpc-libvirtd[9725]: segfault at 18 ip 00007f8b0a5f17a9 sp 00007f8b3f8cbb60 error 4 in libvirt_driver_qemu.so[7f8b0a56e000+113000] error: Code: a4 01 0f 84 89 03 00 00 4c 89 ff e8 d1 ed f7 ff 85 c0 0f 88 b9 02 00 00 48 8b 45 b8 48 8b b0 80 00 00 00 48 8b 86 b0 02 00 00 <48> 8b 78 18 48 85 ff 0f 84 42 01 00 00 e8 b5 02 f8 ff 48 89 45 c0 Disconnected from qemu:///system due to end of file error: Failed to undefine domain 'vm' error: End of file while reading data: Input/output error Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: don't declare xencommons as an initscript for systemdBruce Ashfield2022-04-211-1/+2
| | | | | | | | | | | | 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>
* xen: Remove 4.14 recipes and related patchesMichal Orzel2022-04-205-367/+0
| | | | | | | | | | 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>
* xen: Add recipes for stable Xen 4.16 release and update masterMichal Orzel2022-04-204-6/+44
| | | | | | | | | | | | | | | 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>
* xen: Bump SRCREV of 4.15 recipes to 4.15.2Michal Orzel2022-04-202-4/+4
| | | | | | | | | | 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>
* xen-tools: remove unused systemd/sysvinit filesBruce Ashfield2022-04-191-3/+14
| | | | | | | | | | | | | 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>
* libvmi: Fix out of box build failure with xen disabledHe Zhe2022-04-132-0/+77
| | | | | | | | | | vbd was added for xen based VMs since bdee00fac9b4 ("Disk reading interface for Xen based VMs and example") and should be built only when xen is enabled, otherwise there would not be necessary xen headers and cause the following failure. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: fix QA packaging issue when multlib is enabledBruce Ashfield2022-04-111-0/+1
| | | | | | | | | | | | | | | | | | The uprev of libvirt introduced a new sysctl file: 60-qemu-postcopy-migration.conf In a standard configuration, the FILES variable of python-libvirt picks up the fiel, but in a multiconfig setup, the definition of ${libdir} changes and the file is missed. Since systcl always looks in /usr/lib, we can't rely only on ${libdir}, so we explicitly add the new .conf file into the packaging. This will allow new additions in the future to be considered as to in which package they belong. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Preeti Sachan <preeti.sachan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* virt-what: add new recipeRoss Burton2022-04-071-0/+11
| | | | | Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* irqbalance: update to 1.8.0-tipBruce Ashfield2022-03-291-1/+1
| | | | | | | | | | | | Bumping irqbalance to version v1.6.0-154-gb3adb5f, which comprises the following commits: 0f594a6 Separate variable declaration from assignment 9b004c6 Ensure that we get all of a unix message df7b543 Add '\0' to the end of strings to avoid heap buffer overflow f8bdd0e ui/ui.c: always use "%s"-style format for printf()-style functions efab272 Drop CapabilityBoundingSet from irqbalance service Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kvmtool: update to -tipBruce Ashfield2022-03-295-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping kvmtool to latest, which comprises the following commits: faae833 Revert "kvm tools: Filter out CPU vendor string" 1b76b6e Add --no-pvtime command line argument 7d4671e aarch64: Add stolen time support ff69582 aarch64: Populate the vCPU struct before target->init() 95f4796 arm: pci: Generate "msi-parent" property only with a MSI controller c334a68 arm: Use pr_debug() to print memory layout when loading a firmware image 9b681b0 Remove initrd magic check 2108c86 virtio/pci: Signal INTx interrupts as level instead of edge 20b93be x86: Set the correct APIC ID d4d6f15 x86: Fix initialization of irq mptable cdd7d8c riscv: Generate PCI host DT node 721da16 riscv: Handle SBI calls forwarded to user space 7c9aac0 riscv: Generate FDT at runtime for Guest/VM 762224e riscv: Add PLIC device emulation 42bfe44 riscv: Implement Guest/VM VCPU arch functions 867159a riscv: Implement Guest/VM arch functions 2e99678 riscv: Initial skeletal support 5968b5f update_headers: Sync-up ABI headers with Linux-5.16-rc1 642f35b Makefile: Calculate the correct kvmtool version 7a60af0 arm/pci: update interrupt-map only for legacy interrupts 39181fc vfio/pci: Align MSIX Table and PBA size to guest maximum page size b20d6e3 vfio/pci: Print an error when offset is outside of the MSIX table or PBA f93acc0 vfio/pci: Rework MSIX table and PBA physical size allocation 5f44d5d vfio/pci: Rename PBA offset in device descriptor to fd_offset 34bfe5f pci: Fix pci_dev_* print macros 3d3dca0 vfio/pci.c: Remove double include for assert.h e3b0ade arm/gicv2m: Set errno when gicv2_update_routing() fails dc66461 arm64: Be more permissive when parsing the kernel header 5303f09 arm64: Use the default offset when the kernel image magic is not found 5613ae2 Add --nodefaults command line argument a5253f7 builtin-run: Move kernel command line generation to a separate function 39ab3a0 Use kvm->nr_disks instead of kvm->cfg.image_count cce9616 builtin-run: Abstract argument validation into a separate function 638630c builtin-run: Do not attempt to find vmlinux if --firmware 6cbec43 builtin-run: Warn when ignoring initrd because --firmware was specified 6810e75 builtin-run: Treat specifying both --kernel and --firmware as an error 2e7380d virtio/pci: Size the MSI-X bar according to the number of MSI-X bdb86d0 kvmtool: arm64: Configure VM with the minimal required IPA space 066b5c0 kvmtool: arm64: Use the maximum supported IPA size when creating the VM 4250819 kvmtool: Abstract KVM_VM_TYPE into a weak function 25c1dc6 arm/arm64: vfio: Add PCI Express Capability Structure e69b766 arm/arm64: Add PCI Express 1.1 support 6b74f68 arm/fdt.c: Don't generate the node if generator function is NULL 070fb91 Move fdt_irq_fn typedef to fdt.h 415f92c arm: Fail early if KVM_CAP_ARM_PMU_V3 is not supported Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvmi: update to 0.14-tipBruce Ashfield2022-03-291-2/+2
| | | | | | | | Bumping libvmi to version v0.10-1073-g41600b6, which comprises the following commits: 41600b6 Actually define __XS_EVENT_REASON_MAX (#1016) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>