Merge pull request #3288 from gkurz/qemu-disable-libudev

qemu: Disable libudev for QEMU 5.2 and newer
This commit is contained in:
Fabiano Fidêncio 2021-12-21 15:56:16 +01:00 committed by GitHub
commit 79153c3845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -310,9 +310,10 @@ generate_qemu_options() {
qemu_options+=(size:--disable-qom-cast-debug)
qemu_options+=(size:--disable-tcmalloc)
# Disable libudev for static build
# Disable libudev since it is only needed for qemu-pr-helper and USB,
# none of which are used with Kata
if gt_eq "${qemu_version}" "5.2.0" ; then
[ "${static}" == "true" ] && qemu_options+=(size:--disable-libudev)
qemu_options+=(size:--disable-libudev)
fi
# Disallow network downloads