mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-10 20:32:54 +00:00
Merge pull request #3288 from gkurz/qemu-disable-libudev
qemu: Disable libudev for QEMU 5.2 and newer
This commit is contained in:
commit
79153c3845
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user