spice: make number of surfaces runtime-configurable.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2012-09-04 11:39:41 +02:00
parent 2e0e3c399a
commit ddd8fdc78e
4 changed files with 23 additions and 19 deletions

View file

@ -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;