virtio-gpu: don't clear QemuUIInfo information on reset
commit79d16c21a565927943486b26789caa62413ff371
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 6 Sep 2017 14:20:58 +0000 (6 16:20 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 13 Sep 2017 07:39:32 +0000 (13 09:39 +0200)
tree747debe5ada146600614ed1248b4e3dbe84d3ca9
parent138bc2df843105edb22978284fc2e16307f16211
virtio-gpu: don't clear QemuUIInfo information on reset

Don't reset window layout information (passed via virtio_gpu_ui_info) on
device reset, so the user interface window layout will be kept intact
over reboots.  The head size and position was commented out already, so
this patch just drops the dead code.  Additionally the enabled head mask
must be kept so multihead setups work properly too.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1460595
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20170906142058.2460-1-kraxel@redhat.com
hw/display/virtio-gpu.c