aboutsummaryrefslogtreecommitdiff
path: root/hw/display/qxl.h
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2015-07-06 07:56:38 +0100
committerGerd Hoffmann <kraxel@redhat.com>2015-07-16 17:31:05 +0200
commit567161fdd47aeb6987e700702f6bbfef04ae0236 (patch)
tree631ab98d80e04da54b4e912a551ba566d4d552ad /hw/display/qxl.h
parent2d5ee9e7a7dd495d233cf9613a865f63f88e3375 (diff)
downloadqemu-567161fdd47aeb6987e700702f6bbfef04ae0236.zip
qemu-567161fdd47aeb6987e700702f6bbfef04ae0236.tar.gz
qemu-567161fdd47aeb6987e700702f6bbfef04ae0236.tar.bz2
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 <fziglio@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/qxl.h')
-rw-r--r--hw/display/qxl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/display/qxl.h b/hw/display/qxl.h
index deddd54..2ddf065 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;