mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
spice: make number of surfaces runtime-configurable.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
2e0e3c399a
commit
ddd8fdc78e
4 changed files with 23 additions and 19 deletions
3
hw/qxl.h
3
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue