From 567161fdd47aeb6987e700702f6bbfef04ae0236 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Mon, 6 Jul 2015 07:56:38 +0100 Subject: qxl: allow to specify head limit to qxl driver This patch allow to limit number of heads using qxl driver. By default qxl driver is not limited on any kind on head use so can decide to use as much heads. libvirt has this as a video card parameter (actually set to 1 but not used). This parameter will allow to limit setting a use can do (which could be confusing). Signed-off-by: Frediano Ziglio Signed-off-by: Gerd Hoffmann --- hw/display/qxl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hw/display/qxl.h') diff --git a/hw/display/qxl.h b/hw/display/qxl.h index deddd54d2f..2ddf065e1f 100644 --- a/hw/display/qxl.h +++ b/hw/display/qxl.h @@ -99,6 +99,9 @@ typedef struct PCIQXLDevice { QXLModes *modes; uint32_t rom_size; MemoryRegion rom_bar; +#if SPICE_SERVER_VERSION >= 0x000c06 /* release 0.12.6 */ + uint16_t max_outputs; +#endif /* vram pci bar */ uint32_t vram_size; -- cgit v1.2.3