Guests using the qxl-vga are freezing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
I have noticed that guests using qxl-vga are freezing. They may freeze after a few minutes or after many hours. The freeze consists of the entire system hanging, except the cursor, but the cursor animation stops too. Changing to tty is not possible after this. There are three things noticed in common on the guests when they freeze:
-The guest is using the QXL VGA (freezes weren't observed with other VGAs);
-A new workload is starting;
-The mouse cursor is the animated as the one of loading. For example, https:/
The host is Xubuntu 18.04 amd64, QEMU version is 3.0.0-dirty. The guests tested were:
-openSUSE Tumbleweed;
-openSUSE Leap 15;
-Xubuntu 18.04 Bionic Beaver;
-CentOS 7.
With openSUSE guests, the install process couldn't even be finished, as the installer would freeze. There were 2 GB of available memory (checked in a tty before the freeze) and netconsole was enabled. Unfortunately, it was impossible to obtain any information from them. This is an image of one openSUSE guest frozen: https:/
The command line used was:
qemu-system-x86_64 -nodefaults -m 3072 -M pc,usb=true -accel kvm -cpu host -smp cores=2,threads=2 -device qemu-xhci -drive id=centusb,
With CentOS guests, the install process fail sometimes, but sometimes it's able to install. However, on the yum update, it would freeze too. In one instance it froze while updating glibc, which made the guest unbootable. https:/
The command line used was:
qemu-system-x86_64 -nodefaults -m 2048 -M pc,usb=true -accel kvm -cpu host -smp cores=2,threads=2 -device qemu-xhci -drive id=centusb,
With Xubuntu 18.04 guests, the system worked for many hours until the freeze happened. On this case it happened when opening Audacious. Fortunately, the logging services worked for some time, which allowed me to get a relevant message which can be seen at http://
The command line used was:
qemu-system-x86_64 -nodefaults -m 1024 -M pc,usb=true -accel kvm -cpu host -smp cores=2,threads=2 -device qemu-xhci -drive id=centusb,
I'm sorry for not having more detailed information but, even setting netconsole, openSUSE and CentOS guests were unable to print any information.
Can you attach gdb to qemu when the guest hangs, then run "thread apply all bt"?