diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-04 11:39:41 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-05 17:11:56 +0200 |
commit | ddd8fdc78ee30fc445e3d1f5bd2056acfcdefe47 (patch) | |
tree | e707cd43a4c5343fec49f89ac868db51e06c1853 /hw/qxl.h | |
parent | 2e0e3c399aa8067148055b9ea0edb822c5b584d2 (diff) |
spice: make number of surfaces runtime-configurable.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/qxl.h')
-rw-r--r-- | hw/qxl.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -40,7 +40,6 @@ typedef struct PCIQXLDevice { uint32_t revision; int32_t num_memslots; - int32_t num_surfaces; uint32_t current_async; QemuMutex async_lock; @@ -65,7 +64,7 @@ typedef struct PCIQXLDevice { } guest_primary; struct surfaces { - QXLPHYSICAL cmds[NUM_SURFACES]; + QXLPHYSICAL *cmds; uint32_t count; uint32_t max; } guest_surfaces; |