From patchwork Mon Dec 10 23:45:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [44/52] package/qemu: add support for Spice X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 205099 Message-Id: <1355183112-10735-45-git-send-email-yann.morin.1998@free.fr> To: buildroot@busybox.net Cc: "Yann E. MORIN" Date: Tue, 11 Dec 2012 00:45:04 +0100 From: "Yann E. MORIN" List-Id: Discussion and development of buildroot Signed-off-by: "Yann E. MORIN" --- package/qemu/Config.in | 9 +++++++++ package/qemu/qemu.mk | 8 +++++++- 2 files changed, 16 insertions(+), 1 deletions(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index 322066b..deabb6f 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -123,6 +123,15 @@ config BR2_PACKAGE_QEMU_CURSES frontend (although you can still use the SDL or VNC frontends to display the graphical output). +config BR2_PACKAGE_QEMU_SPICE + bool "Enable Spice frontend" + depends on BR2_PACKAGE_SPICE + help + Say 'y' here to have QEMU support Spice as a (VNC-like) frontend. + +comment "Spice support requires spice-server" + depends on !BR2_PACKAGE_SPICE + comment "Block backends" config BR2_PACKAGE_QEMU_VIRTFS diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 8da3069..34a3a04 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -156,6 +156,13 @@ else QEMU_OPTS += --disable-curses endif +ifeq ($(BR2_PACKAGE_QEMU_SPICE),y) +QEMU_OPTS += --enable-spice +QEMU_DEPENDENCIES += spice +else +QEMU_OPTS += --disable-spice +endif + ifeq ($(BR2_PACKAGE_QEMU_VIRTFS),y) QEMU_OPTS += --enable-virtfs else @@ -313,7 +320,6 @@ define QEMU_CONFIGURE_CMDS --disable-fdt \ --disable-guest-base \ --disable-docs \ - --disable-spice \ --disable-rbd \ --disable-smartcard \ --disable-strip \