summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-04-18 07:56:18 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-04-18 07:56:18 -0500
commit25b9e14e78bf9790cdee12d57c45898e86866a24 (patch)
tree44170bfd10733c58e320f86b3998a3bc1ee07bc3 /hw
parentb26d712ecc9558fcd2a77a0b677a18d4919228bd (diff)
parent06ddea49f8127bd055dbc7e83df896d9311c88cc (diff)
downloadqemu-25b9e14e78bf9790cdee12d57c45898e86866a24.tar.gz
qemu-25b9e14e78bf9790cdee12d57c45898e86866a24.tar.bz2
qemu-25b9e14e78bf9790cdee12d57c45898e86866a24.zip
Merge remote-tracking branch 'spice/spice.v52' into staging
* spice/spice.v52: qxl-render: fix broken vnc+spice since commit f934493 qxl: set default values of vram*_size_mb to -1 trace-events: remove unused qxl_vga_ioport_while_not_in_vga_mode
Diffstat (limited to 'hw')
-rw-r--r--hw/qxl-render.c1
-rw-r--r--hw/qxl.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/hw/qxl-render.c b/hw/qxl-render.c
index 28ab182226..f7f1bfda04 100644
--- a/hw/qxl-render.c
+++ b/hw/qxl-render.c
@@ -127,6 +127,7 @@ static void qxl_render_update_area_unlocked(PCIQXLDevice *qxl)
qxl->guest_primary.surface.width,
qxl->guest_primary.surface.height);
}
+ dpy_resize(vga->ds);
}
for (i = 0; i < qxl->num_dirty_rects; i++) {
if (qemu_spice_rect_is_empty(qxl->dirty+i)) {
diff --git a/hw/qxl.c b/hw/qxl.c
index 47a162e479..db2318e293 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -1959,8 +1959,8 @@ static Property qxl_properties[] = {
DEFINE_PROP_UINT32("guestdebug", PCIQXLDevice, guestdebug, 0),
DEFINE_PROP_UINT32("cmdlog", PCIQXLDevice, cmdlog, 0),
DEFINE_PROP_UINT32("ram_size_mb", PCIQXLDevice, ram_size_mb, -1),
- DEFINE_PROP_UINT32("vram_size_mb", PCIQXLDevice, vram32_size_mb, 0),
- DEFINE_PROP_UINT32("vram64_size_mb", PCIQXLDevice, vram_size_mb, 0),
+ DEFINE_PROP_UINT32("vram_size_mb", PCIQXLDevice, vram32_size_mb, -1),
+ DEFINE_PROP_UINT32("vram64_size_mb", PCIQXLDevice, vram_size_mb, -1),
DEFINE_PROP_END_OF_LIST(),
};