QEMU (frontend) crashes upon warm reboot with virtio-gpu device and vga=775 on Linux cmdline
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
With vga=775 on the Linux command line a first boot of the VM running Linux works fine. After a warm reboot it crashes during Linux boot. The VM was used remotely via virt-manager and VNC.
Bisecting the code lead to the following patch that introduced the bug:
commit 1fccd7c5a9a722a
Author: Gerd Hoffmann <email address hidden>
Date: Mon Jul 2 18:24:43 2018 +0200
virtio-gpu: disable scanout when backing resource is destroyed
Signed-off-by: Gerd Hoffmann <email address hidden>
Reviewed-by: Marc-André Lureau <email address hidden>
Message-id: <email address hidden>
diff --git a/hw/display/
index 336dc59007.
--- a/hw/display/
+++ b/hw/display/
@@ -430,6 +430,16 @@ static void virtio_
static void virtio_
{
+ int i;
+
+ if (res->scanout_
+ for (i = 0; i < g->conf.
+ if (res->scanout_
+ virtio_
+ }
+ }
+ }
+
pixman_
virtio_
QTAILQ_
Reported backtraces can be found here: https:/
summary: |
- QEMU (frontend) crashes upon warm reboot with vga=775 on Linux cmdline + QEMU (frontend) crashes upon warm reboot with virtio-gpu device and + vga=775 on Linux cmdline |
I also hit this with gtk frontend rather than vnc althought he backtrace looks very different.