Vga 20170717 patches
The following changes since commit 6e2c46334385c7e295ac883c801c81b4925fb54f:
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20170711' into staging (2017-07-13 10:47:10 +0100)
are available in the git repository at:
git://git.kraxel.org/qemu tags/vga-20170717-pull-request
for you to fetch changes up to 10750ee0d67eeebbf05822b2249969ba05b5ff4b:
virtio-gpu: skip update cursor in post_load if we don't have one (2017-07-17 11:41:23 +0200)
----------------------------------------------------------------
virtio-gpu migration fix for 2.10
----------------------------------------------------------------
Gerd Hoffmann (1):
virtio-gpu: skip update cursor in post_load if we don't have one
hw/display/virtio-gpu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
2.9.3
[Qemu-devel] [PULL 1/1] virtio-gpu: skip update cursor in post_load if we don't have one
If the cursor resource id isn't set the guest didn't define a cursor. Skip the cursor update in post_load in that that case.
Message-id: [email protected]
--- hw/display/virtio-gpu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
hw/display/virtio-gpu.c +3 -1
@@ -1092,7 +1092,9 @@ static int virtio_gpu_load(QEMUFile *f, void *opaque, size_t size,dpy_gfx_replace_surface (scanout->con, scanout->ds);dpy_gfx_update (scanout->con,0 ,0 , scanout->width, scanout->height); -update_cursor (g, &scanout->cursor); +if (scanout->cursor.resource_id) { +update_cursor (g, &scanout->cursor); + } res->scanout_bitmask |= (1 << i); }
Signature · 1 line
2.9.3
Peter Maydell
AppliedQuoted 15 lines · Gerd Hoffmann
The following changes since commit
6e2c46334385c7e295ac883c801c81b4925fb54f:Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20170711' into staging (2017-07-13 10:47:10 +0100)
are available in the git repository at:
git://git.kraxel.org/qemutags/vga-20170717-pull-requestfor you to fetch changes up to
10750ee0d67eeebbf05822b2249969ba05b5ff4b:virtio-gpu: skip update cursor in
post_loadif we don't have one (2017-07-17 11:41:23 +0200)----------------------------------------------------------------
virtio-gpu migration fix for 2.10
Quoted 8 lines
----------------------------------------------------------------
Gerd Hoffmann (1):
virtio-gpu: skip update cursor inpost_loadif we don't have onehw/display/virtio-gpu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Applied, thanks.
-- PMM