diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2024-06-05 15:14:41 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-06-20 10:04:31 +0300 |
commit | 37f037cb69d0e4232669bca55f56e05213ac2326 (patch) | |
tree | e3a3f2fc2ba3e75923208e6aac31bce1ec021771 /hw/hyperv | |
parent | 1608a7f81f0e220cba16b351349f6af0f8957b15 (diff) |
stdvga: fix screen blanking
In case the display surface uses a shared buffer (i.e. uses vga vram
directly instead of a shadow) go unshare the buffer before clearing it.
This avoids vga memory corruption, which in turn fixes unblanking not
working properly with X11.
Cc: qemu-stable@nongnu.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2067
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20240605131444.797896-2-kraxel@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
(cherry picked from commit b1cf266c82cb1211ee2785f1813a6a3f3e693390)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/hyperv')
0 files changed, 0 insertions, 0 deletions