]> git.proxmox.com Git - mirror_qemu.git/commit
console: fix console resize
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 24 Jan 2017 11:10:39 +0000 (12:10 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 31 Jan 2017 15:09:16 +0000 (16:09 +0100)
commit3ef0c573d37b117867352a8bd8c567d3b774fe37
tree8a0f77286af93af73c645ecef5443724fa6b35e8
parent27b224a61f97faabbd20bdf72c0c1a3dbe400cd1
console: fix console resize

Only skip surface reallocation in case the old surface was created using
qemu_alloc_display (via qemu_create_displaysurface) too, otherwise we
might end up with a DisplaySurface with the wrong backing storage.

Cc: 1658634@bugs.launchpad.net
Fixes: cd958edb1fae85d0c7d1e1acbff82d22724e8d64
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Message-id: 1485256239-12219-1-git-send-email-kraxel@redhat.com
ui/console.c