mirror of https://github.com/xqemu/xqemu.git
qxl: set default revision to 4
Set qxl pci revision to 4 (for pc-1.3+) so guests know spice-server 0.12 features are available. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
67be6726b6
commit
591af14359
|
@ -371,6 +371,14 @@ static QEMUMachine pc_machine_v1_3 = {
|
||||||
.driver = "ivshmem",\
|
.driver = "ivshmem",\
|
||||||
.property = "use64",\
|
.property = "use64",\
|
||||||
.value = "0",\
|
.value = "0",\
|
||||||
|
},{\
|
||||||
|
.driver = "qxl",\
|
||||||
|
.property = "revision",\
|
||||||
|
.value = stringify(3),\
|
||||||
|
},{\
|
||||||
|
.driver = "qxl-vga",\
|
||||||
|
.property = "revision",\
|
||||||
|
.value = stringify(3),\
|
||||||
}
|
}
|
||||||
|
|
||||||
static QEMUMachine pc_machine_v1_2 = {
|
static QEMUMachine pc_machine_v1_2 = {
|
||||||
|
|
5
hw/qxl.h
5
hw/qxl.h
|
@ -129,12 +129,7 @@ typedef struct PCIQXLDevice {
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#if 0
|
|
||||||
/* spice-server 0.12 is still in development */
|
|
||||||
#define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V12
|
#define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V12
|
||||||
#else
|
|
||||||
#define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V10
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* qxl.c */
|
/* qxl.c */
|
||||||
void *qxl_phys2virt(PCIQXLDevice *qxl, QXLPHYSICAL phys, int group_id);
|
void *qxl_phys2virt(PCIQXLDevice *qxl, QXLPHYSICAL phys, int group_id);
|
||||||
|
|
Loading…
Reference in New Issue