+QEMU_UI_VNC_SASL:libsasl2 \
+QEMU_UI_SPICE:libspice-server \
+QEMU_DEV_USB:libusb-1.0 \
+ +QEMU_SECCOMP:libseccomp \
$(if $(filter %-softmmu,$(1)),+libncurses +libfdt +libslirp +libudev +pixman +qemu-firmware-efi $(ICONV_DEPENDS))
endef
config QEMU_DEV_USB
bool "QEMU USB passthrough support"
+config QEMU_SECCOMP
+ bool "Enable support for seccomp in QEMU"
+ default KERNEL_SECCOMP
+ help
+ Build QEMU with support for seccomp filters.
+ Select libseccomp which also pulls-in the needed kernel features.
+
endif
endef
CONFIG_QEMU_UI_VNC_SASL \
CONFIG_QEMU_UI_SPICE \
CONFIG_QEMU_DEV_USB \
+ CONFIG_QEMU_SECCOMP \
# QEMU configure script does not recognize these options
--disable-rbd \
--disable-rdma \
--disable-sanitizers \
- --disable-seccomp \
+ --$(if $(CONFIG_QEMU_SECCOMP),enable,disable)-seccomp \
--disable-smartcard \
--disable-snappy \
--disable-sparse \