Bug 993898

Summary: QXL driver causes VM hang on shutdown
Product: Red Hat Enterprise Linux 7 Reporter: Milan Barta <mbarta>
Component: xorg-x11-drv-qxlAssignee: Søren Sandmann Pedersen <sandmann>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0CC: acathrow, kem, mbarta, mkrcmari, pvine, tpelka, xuyao18
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-22 02:30:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Spice debug with QXL driver
none
Spice debug with CIRRUS driver none

Description Milan Barta 2013-08-06 12:58:35 UTC
Description of problem:
VM fails to shutdown correctly when running it with Spice QXL driver. The VM freezes and never shuts down completely. This is reproducible 75 % of the time.

When qemu-kvm is executed with different -vga parameter (tested with 'cirrus'), the VM shuts down 100 % of the time correctly.

Version-Release number of selected component (if applicable):
Host & client: RHEL 7
Guest: RHEL7, (Fedora 19)

qemu-kvm-1.5.2-2.el7.x86_64
spice-server-0.12.4-1.el7.x86_64

xorg-x11-drv-qxl-0.1.1-0.13.20130703git8b03ec16.el7.x86_64
virt-viewer-0.5.7-1.el7.x86_64
spice-gtk-0.20-2.el7.x86_64
spice-vdagent-0.14.0-3.el7.x86_64

How reproducible:
75 %

Steps to Reproduce:
1. run a VM with qxl graphics driver (e.g. see qemu-kvm command below)
2. initiate shutdown from within the guest system

Actual results:
Guest hangs on shutdown.

Expected results:
Guest system shuts down completely and correctly.

Additional info:

qemu-kvm command:
/usr/libexec/qemu-kvm -m 768 -name r7 -drive file=/home/mbarta/rhel7.img,if=virtio -vga qxl -spice port=5901,addr=127.0.0.1,disable-ticketing,image-compression=off,streaming-video=off,playback-compression=off -device virtio-serial-pci -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 -chardev spicevmc,id=spicechannel0,name=vdagent -device intel-hda -device hda-duplex

Comment 1 Milan Barta 2013-08-06 12:59:37 UTC
Created attachment 783316 [details]
Spice debug with QXL driver

Comment 2 Milan Barta 2013-08-06 13:00:12 UTC
Created attachment 783317 [details]
Spice debug with CIRRUS driver

Comment 4 Søren Sandmann Pedersen 2014-01-10 19:31:10 UTC
Doesn't reproduce for me with RHEL 7 guest on RHEL 7 host, both as of approximately Beta1.

Does this still reproduce with a more recent RHEL 7?

Comment 5 Milan Barta 2014-01-21 11:02:50 UTC
With RHEL7 Beta 1, I couldn't reproduce either. Looks like it's been fixed.