mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
qxl: add QXL_IO_MONITORS_CONFIG_ASYNC
Revision bumped to 4 for new IO support, enabled for spice-server >= 0.11.1. New io enabled if revision is 4. Revision can be set to 4. [ kraxel: 3 continues to be the default revision. Once we have a new stable spice-server release and the qemu patches to enable the new bits merged we'll go flip the switch and make rev4 the default ] This io calls the corresponding new spice api spice_qxl_monitors_config_async to let spice-server read a new guest set monitors config and notify the client. On migration reissue spice_qxl_monitors_config_async. RHBZ: 770842 Signed-off-by: Alon Levy <alevy@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> fixup Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
36839d355e
commit
020af1c45f
5 changed files with 109 additions and 4 deletions
7
hw/qxl.h
7
hw/qxl.h
|
@ -71,6 +71,8 @@ typedef struct PCIQXLDevice {
|
|||
} guest_surfaces;
|
||||
QXLPHYSICAL guest_cursor;
|
||||
|
||||
QXLPHYSICAL guest_monitors_config;
|
||||
|
||||
QemuMutex track_lock;
|
||||
|
||||
/* thread signaling */
|
||||
|
@ -128,7 +130,12 @@ typedef struct PCIQXLDevice {
|
|||
} \
|
||||
} while (0)
|
||||
|
||||
#if 0
|
||||
/* spice-server 0.12 is still in development */
|
||||
#define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V12
|
||||
#else
|
||||
#define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V10
|
||||
#endif
|
||||
|
||||
/* qxl.c */
|
||||
void *qxl_phys2virt(PCIQXLDevice *qxl, QXLPHYSICAL phys, int group_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue