]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-gpu: skip update cursor in post_load if we don't have one
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 10 Jul 2017 07:04:32 +0000 (09:04 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 17 Jul 2017 09:41:23 +0000 (11:41 +0200)
commit10750ee0d67eeebbf05822b2249969ba05b5ff4b
tree17e7ac68448ec643f845ae7fc900795d47ad9794
parent6e2c46334385c7e295ac883c801c81b4925fb54f
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.

Reported-by: wanghaibin <wanghaibin.wang@huawei.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: wanghaibin <wanghaibin.wang@huawei.com>
Message-id: 20170710070432.856-1-kraxel@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/virtio-gpu.c