summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu.inc
Commit message (Collapse)AuthorAgeFilesLines
...
* qemu: rename deprecated --enable-trace-backend configure optionThomas De Schampheleire2023-04-051-1/+1
| | | | | | | | | | | | | | qemu 6.2 deprecated the configure option '--enable-trace-backend' in favor of '--enable-trace-backends' [1] Rename accordingly. [1] https://wiki.qemu.org/ChangeLog/6.2#Build_Information (From OE-Core rev: 9e41fac1c2ee15aaff9926dac3c0233430adff12) Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: retain default trace backend if 'ust' is not enabledThomas De Schampheleire2023-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | The qemu build system enables the 'log' trace backend by default, if no explicit choice was made with '--enable-trace-backend=CHOICE'. However, the qemu recipe uses the following PACKAGECONFIG line: PACKAGECONFIG[ust] = "--enable-trace-backend=ust,--enable-trace-backend=nop,lttng-ust," which means that the 'nop' trace backend will be explicitly selected if the 'ust' feature is not enabled. The 'nop' backend removes almost all trace points at compile time, and thus basically means 'disable tracing'. To retain the default trace backend if 'ust' is not enabled, the above PACKAGECONFIG line should either explicitly fall back to the 'log' backend, or not provide any value for the 'disabled' case. This commit chooses the latter to not make any assumption about the upstream default. (From OE-Core rev: c31396a30dcf17ab23ff4dd5943eef5fba20cba6) Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: make tracetool-generated output reproducibleThomas De Schampheleire2023-04-051-0/+1
| | | | | | | | | | | '#line' directives written by qemu's tracetool makes the 'debug' package not reproducible due to absolute paths. Apply a patch to use a relative path instead. (From OE-Core rev: 85e30c507b63fa9126887dc6435d1ee6e23bd887) Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: split out qemu-guest-agent, add startup scriptsClément Péron2023-03-141-1/+34
| | | | | | | | | | | | | | | | | Split out the QEMU guest agent into a separate package. The agent is intended to be installed within a QEMU VM guest where a user is likely to not want to have the rest of the QEMU installation within it. Additionally, an initscript, udev rules file, and systemd unit file are added to the package so that the guest agent can start automatically; the former two come from Debian's packaging for qemu-guest-agent. (From OE-Core rev: d62fd31c70a9161596594f43c58c73898bfcf52c) Signed-off-by: Brenda Streiff <brenda.streiff@ni.com> Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix building with 6.2 kernel headersJoel Stanley2023-02-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | When building native qemu with 6.2 kernel headers, qemu fails to build: In file included from /usr/include/linux/btrfs.h:29, from ../qemu-7.2.0/linux-user/syscall.c:165: /usr/include/linux/fs.h:50:8: error: redefinition of ‘struct file_clone_range’ 50 | struct file_clone_range { | ^~~~~~~~~~~~~~~~ ../qemu-7.2.0/linux-user/syscall.c:129:8: note: originally defined here 129 | struct file_clone_range { | ^~~~~~~~~~~~~~~~ Backport changes to linux-user that remove the local copy of struct file_clone_range. Patches from https://lore.kernel.org/qemu-devel/20230110174901.2580297-1-berrange@redhat.com/ (From OE-Core rev: 65b1e199dcaabf93bae33e06727bb1238b703d83) Signed-off-by: Joel Stanley <joel@jms.id.au> Tested-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base: add support for loongarch64Xiaotian Wu2023-02-041-1/+1
| | | | | | | (From OE-Core rev: 759baaceb4dd623d5da12ba0d01540fa080154ba) Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix recent reproducibility issuesAlexander Kanavin2023-01-091-0/+1
| | | | | | | | | | Not only break when not in a loop is undefined, different shells do different things when they see it. (From OE-Core rev: 11c034b427c4d44f4013fa4ddf7c3d1264bab219) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: disable sporadically failing test-io-channel-commandAlexander Kanavin2022-12-311-0/+2
| | | | | | | | | [YOCTO #14996] (From OE-Core rev: e7f032b3f797f76dbb4ffa42fa5364624c6fb08b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: update 7.1.0 -> 7.2.0Alexander Kanavin2022-12-261-8/+6
| | | | | | | | | | | | | | | | | | | | | qemu no longer carries libslirp in-tree, so enabling slirp requires providing external libslirp. Another noteworthy change is: x86: TCG support for AVX, AVX2, F16C, FMA3 and VAES instructions ... which means both meta-intel and qemu x86 targets can now fully utilize Haswell-and-later instruction set with benefits for performance in emulation and on silicon. Changelog: https://wiki.qemu.org/ChangeLog/7.2 (From OE-Core rev: d82e521995832580e990c0c173651aafd43d299c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix build with largefile supportKhem Raj2022-12-221-0/+2
| | | | | | | | | | drop using lfs64 specific functions and macros (From OE-Core rev: 82fd98d6d8de17424ed9f129a1661645253ef7ae) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Ensure libpng dependency is deterministicRichard Purdie2022-12-081-0/+1
| | | | | | | | | | | If the host has libpng, because of the way we handle the GL dependency in qemu, it can cause determinism issues. Add a specific PACKAGECONFIG entry for libpng to avoid this (and the associated autobuilder/uninative glibc symbol mismatch failures). (From OE-Core rev: 34afdd0bf5e2810d440bcd378ba1023159c2b2d0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: backport the fix for CVE-2022-3165Ross Burton2022-10-281-0/+1
| | | | | | | | (From OE-Core rev: d820389728b0f5e085954b4f995da2b2014acedf) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-native: Add PACKAGECONFIG option for jackJeremy Puhlman2022-10-261-0/+1
| | | | | | | | | | | | | | | | | | | | | With libjack-devel or jack-audio-connection-kit-devel, qemu-native detects the library/header and tries to build with it. Since its missing from the sysroot, it fails to build. -O2 -fPIE -D_REENTRANT -Wno-undef -MD -MQ libcommon.fa.p/audio_jackaudio.c.o -MF libcommon.fa.p/audio_jackaudio.c.o.d -o libcommon.fa.p/audio_jackaudio.c.o -c ../qemu-6.2.0/audio/jackaudio.c | ../qemu-6.2.0/audio/jackaudio.c:34:10: fatal error: jack/jack.h: No such file or directory | 34 | #include <jack/jack.h> | | ^~~~~~~~~~~~~ | compilation terminated. (From OE-Core rev: 27260be388f7f9f324ff405e7d8e254925b4ae90) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add patch to address arm qemu upgrade issuesRichard Purdie2022-09-281-0/+1
| | | | | | | | | | | | | Upgrading qemu to 7.1.0 caused some issues in meta-arm for optee and for zephyr as well: https://github.com/OP-TEE/optee_os/issues/5551 Add in a patch being proposed to address the issue. (From OE-Core rev: ec41bf3cf0d55c84db07069561a6807bc96fa95b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2022-2962Ross Burton2022-09-221-0/+1
| | | | | | | | | Backport the fix for CVE-2022-2962. (From OE-Core rev: 943d28a3395455fd475cb6c84247d106adf5fca3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: re-add the fix for CVE-2022-1050Ross Burton2022-09-221-1/+1
| | | | | | | | | | This patch was accidentally dropped in the 7.1.0 upgrade, so bring it back. (From OE-Core rev: 09bcf6d2a661a3c39fdd13a760f6c26dd79abb69) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Upgrade 7.0.0 -> 7.1.0Richard Purdie2022-09-091-11/+10
| | | | | | | | | | | | | | | Drop CVE backports and backported patch for pvrdma which was also applied upstream. Refresh cross.patch. Drop vnc-png option removed upstream. Update ptest path manipulations for target. qmp now has consists of multiple files so install them all as a python module. The upgrade contains fixes for virtio block devices which we hope will address vda device tracebacks on the autobuilder from qemu. (From OE-Core rev: e94d182889ca3c02df913c59f0b66b228ffe588c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2022-0216Sakib Sajal2022-08-231-0/+2
| | | | | | | | | Backport required patches to fix CVE-2022-0216. (From OE-Core rev: 938c69e9ca550038fdb2ee3a39d20b58bb98417d) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-3507Sakib Sajal2022-08-231-0/+2
| | | | | | | | | Backport required patches to fix CVE-2021-3507. (From OE-Core rev: 1a22fa10ef4ed80b4ef3cdd12eb4191a8c320e0a) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix build with glibc 2.36Khem Raj2022-08-081-0/+1
| | | | | | | (From OE-Core rev: 5547f0e9e0c71c82d9bf87384bc81901117db030) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: CVE-2022-35414 can perform an uninitialized read on the translate_fail ↵Hitendra Prajapati2022-08-041-0/+1
| | | | | | | | | | | | path, leading to an io_readx or io_writex crash Upstream-Status: Backport [https://github.com/qemu/qemu/commit/418ade7849ce7641c0f7333718caf5091a02fd4c] CVE: CVE-2022-35414 (From OE-Core rev: 0e08363f48862a5f017135ae720ae89f635d811c) Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add io_uring PACKAGECONFIGRoss Burton2022-07-251-0/+1
| | | | | | | | | | io_uring is enabled or disabled depending on whether liburing is available, so add a PACKAGECONFIG to make this explicit, disabled by default. (From OE-Core rev: daee79639c39ac6278855b35e0ddf71e52dd13f8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add PACKAGECONFIG for brlapiRichard Purdie2022-07-141-0/+1
| | | | | | (From OE-Core rev: 482471a617e5f682416b7ec1a920dfaeac65f1a3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix slirp determinism issueRichard Purdie2022-07-141-0/+1
| | | | | | | | | | | | | | Add a PACKAGECONFIG option for slirp, defaulting to internal. This avoids the presence of libslirp on the host causing qemu to link against that instead breaking reproducibility and usability of the binary on hosts where the library isn't present. We need to add it to PACKAGECONFIG by default since users do expect slirp to be enabled in the wider community. (From OE-Core rev: 5a9a64132bf5ecac9d611d29751226a466c4a2c1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Avoid accidental libvdeplug linkageSteve Sakoman2022-07-141-0/+1
| | | | | | | | | | Avoid accidentally linking to the vde library from the host by adding a PACKAGECONFIG for the option. (From OE-Core rev: 8839e9540528b0b46c4fb4f95e508f038bcef8b9) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Avoid accidental librdmacm linkageRichard Purdie2022-07-121-0/+1
| | | | | | | | | | Avoid accidentally linking to the rdma library from the host by adding a PACKAGECONFIG for the option. This was found on new Fedora 36 autobuilder workers. (From OE-Core rev: 2a0f3cb225e4d5471155abbcd05d09bd6bf1620f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add PACKAGECONFIG for capstoneSteve Sakoman2022-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Autobuilder workers were non-deterministically enabling capstone depending on whether the worker had libcapstone installed. Add PACKAGECONFIG for capstone with default off, since qemu does not require capstone support. Qemu version in dunfell has capstone in the source tree as a submodule and has configure options to enable it using that source code or using the system libcapstone. Qemu versions in master and kirkstone have removed the capstone submodule and configure options, but added libcapstone autodetection to meson. In all cases using PACKAGECONFIG will allow a deterministic build. (From OE-Core rev: 052ef1f14d1e6a5ee34f742f65e51b20b416f79f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "qemu.inc: Remove empty egg-info directories before running meson"Richard Purdie2022-05-281-6/+2
| | | | | | | | This reverts commit 9d05227e910d3f374ba7a9763ff2584b9e40db61. This is no longer needed with a patch to importlib in python. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: update 6.2.0 -> 7.0.0Alexander Kanavin2022-05-051-20/+11
| | | | | | | | | | | | | Drop xfs/libxml2 options no longer offered upstream. Dropped patches all found their way upstream, particularly 0001-qemu-Add-missing-wacom-HID-descriptor.patch as well. (From OE-Core rev: ab6bd34a07d10583aeb9377a7fdb9392242b6a8c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add packageconfig for libbpf supportKhem Raj2022-05-011-0/+1
| | | | | | | | | | | | | | | | | | | | | its in auto mode, which is troublesome particularly on native recipe where it pokes at build host to find this library if its not in native sysroot and when build host has libbpf installed it enables it silently otherwise disables the support. so lets make it deterministic, and if one needs to enable this feature then enable the packageconfig intentionally, It was found when trying to solve this QA warning Skipping RPATH /usr/lib64 as is a standard search path for /mnt/b/yoe/master/build/tmp/work/x86_64-linux/qemu-system-native/6.2.0- r0/sysroot-destdir/mnt/b/yoe/master/build/tmp/work/x86_64-linux/qemu-system-native/6.2.0-r0/recipe-sysroot-native/usr/bin/qemu-system-x86_64 This is becasue qemu's build system adds the needed flags to -rpath for the libraries it needs and in this case it has found libbpf.so in /usr/lib64 on build host. (From OE-Core rev: 3d493928b7c98ab11b5d8c50924b1a2c464bf7f5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: backport a patch to optionally disable i8042 (AT and PS/2) hardwareRoss Burton2022-04-201-0/+1
| | | | | | | | | | | | Backport a patch from upstream (will be in qemu 7.0) to add an option to disable the legacy i8042 support (AT keyboard, PS/2 mouse). These devices are very historical and modern Linux environments use USB anyway. (From OE-Core rev: d73e4fcfc9ca4aab25f7751ba17974a839d6340f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add fix for CVE-2022-1050Richard Purdie2022-04-131-0/+1
| | | | | | | | | | | | | | | | Add a fix queued upstream for the issue in this CVE: """ Guest driver might execute HW commands when shared buffers are not yet allocated. This might happen on purpose (malicious guest) or because some other guest/host address mapping. We need to protect againts such case. """ (From OE-Core rev: 1b8513c1abdcd6430f9311efd04d785488f79d7d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: backport fixes for CVE-2022-26353 and CVE-2022-26354Ross Burton2022-03-291-0/+2
| | | | | | | | (From OE-Core rev: 73d3cb8cf089b66292c305973d85e14324f2022c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Depend on libepoxy instead of virtual/libglKhem Raj2022-03-261-3/+3
| | | | | | | | | | | - This abstracts on GL/GLES implementations - Rename packageconfig to epoxy to match what code it doing underneath (From OE-Core rev: 0ded646a83768868a1cc4dceb962ee707348af1b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix build on systems without MAP_SYNCKhem Raj2022-03-231-0/+1
| | | | | | | | | | | some architectures like ppc/mips do not wire this in kernel since linux/mman.h for these architectures do not use asm-generic/mman.h (From OE-Core rev: 442fa3d9eeae100bfa97002c97671d4b540048ed) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix build on ppc64Khem Raj2022-03-161-0/+1
| | | | | | | | | add a missing system include (From OE-Core rev: e057fc5fe6209f44a49b8dd6cc9b4b2d410064ea) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add tpm string section to qemu acpi tableLiweiSong2022-02-251-0/+1
| | | | | | | | | | | This will create _STR and _UID section for TPM in qemu acpi table, with these section, the missing "description" and "uid" files will be created for TPM in /sys by kernel. (From OE-Core rev: 88bf29935358e727c65693085b50a57f879b774b) Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/scripts: Automated conversion of OE renamed variablesRichard Purdie2022-02-211-3/+3
| | | | | | (From OE-Core rev: aa52af4518604b5bf13f3c5e885113bf868d6c81) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: replace a gtk wrapper with directly setting environment from runqemuAlexander Kanavin2022-02-071-11/+0
| | | | | | | | | | | | | | | The wrapper is executed by host bash, and host bash refuses to run when pseudo libc is preloaded via LD_PRELOAD (which is the case when gl is enabled). Only the fontconfig setting is carried over as local testing showed that only that is necessary for the gui to look ok nowadays; adjust further if necessary. (From OE-Core rev: 34f152de14f803fcfe5c92c515bf585838bba10a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add selinux PACKAGECONFIGRichard Purdie2021-12-221-0/+1
| | | | | | | | | | | We're seeing failures on systems with old selinux headers. Add a PACKAGECONFIG entry so that we don't try and build this unless enabled. I'll leave dependencies to someone who wants it and can test, I just need to fix build failures right now as this shouldn't be enabled. (From OE-Core rev: d26c86e67b1154b243d093ff80dafce54da47424) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Upgrade 6.1.0 -> 6.2.0Richard Purdie2021-12-201-3/+3
| | | | | | | | | | | Add config option for pulseaudio Change audio to default mode since quoting of list of devices is broken in meson Drop patch where code changed completed upstream Refresh other patches (From OE-Core rev: c1685b06e5f3684b1b5631b99b412e3ec2b10800) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add patch to set minimum kernel version for riscv32Matt Madison2021-12-201-0/+1
| | | | | | | | | | which enables us to drop the -r option on qemu-static-riscv32 invocations. (From OE-Core rev: 4552249810ed27d1272130226d054e7651a90ce6) Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: remove obsolete support for renamed libtoolRoss Burton2021-12-121-2/+0
| | | | | | | | | | libtool is now longer renamed to ${host}-libtool, so remove the changes to support this. (From OE-Core rev: cba76eb9232df9af6b1b82649f3e0c6b99ce668c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Exclude building on riscv32Khem Raj2021-11-111-0/+1
| | | | | | | | | | | | Needs syscalls issues addressed. fails currently to build ../qemu-6.1.0/linux-user/syscall.c:659:1: error: use of undeclared identi fier '__NR_nanosleep'; did you mean 'safe_nanosleep'? (From OE-Core rev: c4ba4da8d885d183cc6a6f8a5d8d5122184bc3a6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix build on aarch64/muslKhem Raj2021-11-101-0/+1
| | | | | | | (From OE-Core rev: 35040bba25bf994fa9e03f2b8f0c49822c41192c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: Remove empty egg-info directories before running mesonPeter Kjellerstedt2021-10-271-2/+6
| | | | | | | | | | | | | This is the same solution that has been applied to meson.bbclass to allow building with meson after it has been updated to a new version. It needs to be applied here as well since qemu uses meson without inheriting meson.bbclass. (From OE-Core rev: 9d05227e910d3f374ba7a9763ff2584b9e40db61) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add knob for enabling PMDK pmem supportKhem Raj2021-10-161-0/+1
| | | | | | | | | | This ensures that libpmem dependency is added in a consistent manner (From OE-Core rev: 740a52dd10c6e9cb03d39c51eeb955acf438614e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: update 6.0.0 -> 6.1.0Alexander Kanavin2021-10-111-15/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recipe changes: qemu-plugin.h is installed by both qemu-native and qemu-system-native qmp.py module is now provided in a module directory (no other files from that directory are necessary to use it though) additional host-specific info is stripeed from ptest tests/tcg/*.mak Patches: drop all backports drop 0001-Add-enable-disable-udev.patch (change added upstream) drop 0001-linux-user-Tag-vsx-with-ieee128-fpbits.patch (issue fixed upstream) drop 0004-qemu-disable-Valgrind.patch (valgrind detection moved from configure to meson, and should be robust against host contamination) rebase 0010-configure-Add-pkg-config-handling-for-libgcrypt.patch (upstream moved libgcrypt handling from configure to meson, and using pkg-config is now a one-liner adjustment) rebase cross.patch (From OE-Core rev: b2710d25e3d8d79a35dbd4332ffc5cc8053d5eb8) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Define libnfs PACKAGECONFIGAndrei Gherzan2021-10-071-0/+2
| | | | | | | | | | | | | | | | | The upstream qemu recipe uses host's pkg-config files as a solution to detecting host's SDL. This has a side effect of using other host libraries that are later queried by the configure script. This can get into a situation when the host provides libnfs (for example) and because later this dependency is not in place anymore, qemu will fail at runtime. This change adds a PACKAGECONFIG definition for libnfs that is disabled by default, in turn disabling the pkgconfig autodetection in configure. (From OE-Core rev: 42b364a25fdbc987c85dd46b8427045033924d99) Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>