SUBMENU:=Virtualization
TITLE:=QEMU Image utility
URL:=http://www.qemu.org
- DEPENDS:=+glib2 $(QEMU_DEPS_IN_HOST)
+ DEPENDS:=+glib2 +QEMU_ZSTD:libzstd $(QEMU_DEPS_IN_HOST)
endef
define Package/qemu-img/install
SUBMENU:=Virtualization
TITLE:=QEMU Network Block Device Utility
URL:=http://www.qemu.org
- DEPENDS:=+glib2 $(QEMU_DEPS_IN_HOST) +kmod-nbd
+ DEPENDS:=+glib2 +QEMU_ZSTD:libzstd $(QEMU_DEPS_IN_HOST) +kmod-nbd
endef
define Package/qemu-nbd/install
+QEMU_UI_SPICE:libspice-server \
+QEMU_DEV_USB:libusb-1.0 \
+QEMU_SECCOMP:libseccomp \
+ +QEMU_ZSTD:libzstd \
$(if $(filter %-softmmu,$(1)),+libncurses +libfdt +libslirp +libudev +pixman +qemu-firmware-efi $(ICONV_DEPENDS))
endef
Build QEMU with support for seccomp filters.
Select libseccomp which also pulls-in the needed kernel features.
+config QEMU_ZSTD
+ bool "QEMU ZSTD compression support"
+ default n
+
endif
endef
CONFIG_QEMU_UI_SPICE \
CONFIG_QEMU_DEV_USB \
CONFIG_QEMU_SECCOMP \
+ CONFIG_QEMU_ZSTD \
# QEMU configure script does not recognize these options
--disable-werror \
--disable-xen-pci-passthrough \
--disable-xkbcommon \
- --disable-zstd \
+ --$(if $(CONFIG_QEMU_ZSTD),enable,disable)-zstd \
--disable-selinux \
--disable-oss \
--disable-alsa \