aboutsummaryrefslogtreecommitdiff
path: root/hw/qxl.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-09-04 11:39:41 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-09-05 17:11:56 +0200
commitddd8fdc78ee30fc445e3d1f5bd2056acfcdefe47 (patch)
treee707cd43a4c5343fec49f89ac868db51e06c1853 /hw/qxl.h
parent2e0e3c399aa8067148055b9ea0edb822c5b584d2 (diff)
downloadqemu-ddd8fdc78ee30fc445e3d1f5bd2056acfcdefe47.zip
qemu-ddd8fdc78ee30fc445e3d1f5bd2056acfcdefe47.tar.gz
qemu-ddd8fdc78ee30fc445e3d1f5bd2056acfcdefe47.tar.bz2
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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/qxl.h b/hw/qxl.h
index 9cfedb7..5553824 100644
--- a/hw/qxl.h
+++ b/hw/qxl.h
@@ -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;