diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2015-07-06 07:56:38 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-07-16 17:31:05 +0200 |
commit | 567161fdd47aeb6987e700702f6bbfef04ae0236 (patch) | |
tree | 631ab98d80e04da54b4e912a551ba566d4d552ad /hw/display/qxl.h | |
parent | 2d5ee9e7a7dd495d233cf9613a865f63f88e3375 (diff) |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |