mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
qxl: bump pci rev
Inform guest drivers about the new features I/O commands we have now (async commands, S3 support) if building with newer spice, i.e. if SPICE_INTERFACE_QXL_MINOR >= 1. sneaked in some 81+ column line spliting. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Alon Levy <alevy@redhat.com>
This commit is contained in:
parent
3e16b9c534
commit
9197a7c8af
2 changed files with 24 additions and 7 deletions
6
hw/qxl.h
6
hw/qxl.h
|
@ -102,6 +102,12 @@ typedef struct PCIQXLDevice {
|
|||
} \
|
||||
} while (0)
|
||||
|
||||
#if SPICE_INTERFACE_QXL_MINOR >= 1
|
||||
#define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V10
|
||||
#else
|
||||
#define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V06
|
||||
#endif
|
||||
|
||||
/* qxl.c */
|
||||
void *qxl_phys2virt(PCIQXLDevice *qxl, QXLPHYSICAL phys, int group_id);
|
||||
void qxl_guest_bug(PCIQXLDevice *qxl, const char *msg, ...);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue