Bug 974887

Summary: the screen of guest fail to display correctly when use spice + qxl driver
Product: Red Hat Enterprise Linux 7 Reporter: Sibiao Luo <sluo>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: acathrow, chayang, gsun, hhuang, juzhang, kraxel, mazhang, michen, qzhang, rhod, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-1.5.3-7.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 13:17:42 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
screenshot for guest none

Description Sibiao Luo 2013-06-17 03:17:15 UTC
Description of problem:
boot guest with spice + qxl driver, but the screen of guest fail to display correctly and cann't login to guest, but can ssh to guest successfully. If use 'spice + cirrus' or 'spice + std' or just use 'vnc', all of them have no such issue.

Version-Release number of selected component (if applicable):
host info:
3.10.0-0.rc5.61.el7.x86_64
qemu-kvm-1.5.0-2.el7.x86_64
spice-server-0.12.3-1.el7.x86_64
virt-viewer-0.5.6-1.el7.x86_64
spice-gtk-0.19-1.1.el7.x86_64
xorg-x11-drv-qxl-0.1.1-0.7.20130514git77a1594.el7.x86_64
guest info:
3.10.0-0.rc5.61.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.boot guest with spice + qxl driver.
e.g:...-spice port=5931,disable-ticketing -vga *qxl* ...
2.connect guest var virt-viewer.
# remote-viewer spice://localhost:5931

Actual results:
after step 2, the screen of guest fail to display correctly and cann't login to guest, but can ssh to guest successfully. I will attach the screen for it.

Expected results:
the screen of guest should display correctly and can login to guest successfully.

Additional info:

Comment 1 Sibiao Luo 2013-06-17 03:18:04 UTC
Created attachment 761921 [details]
screenshot for guest

Comment 2 Sibiao Luo 2013-06-17 03:19:06 UTC
My qemu-kvm command line:
# /usr/libexec/qemu-kvm -cpu host -M pc-i440fx-1.5 -enable-kvm -S -m 4G -smp 4,sockets=2,cores=2,threads=1 -no-kvm-pit-reinjection -usb -device usb-tablet,id=input0 -name virtio-nic-test -uuid a5fd4bfe-ccbf-403d-9a26-41b1b3843729 -rtc base=localtime,clock=host,driftfix=slew -device virtio-serial-pci,id=virtio-serial0,max_ports=16,vectors=0,bus=pci.0,addr=0x3 -chardev socket,id=channel1,path=/tmp/helloworld1,server,nowait -device virtserialport,chardev=channel1,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port1 -chardev socket,id=channel2,path=/tmp/helloworld2,server,nowait -device virtserialport,chardev=channel2,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port2 -drive file=/home/RHEL-7.0-20130606.0-Server-x86_64.qcow3,if=none,id=drive-system-disk,format=qcow2,cache=none,aio=native,werror=stop,rerror=stop -device virtio-blk-pci,vectors=0,scsi=on,bus=pci.0,addr=0x4,drive=drive-system-disk,id=system-disk,bootindex=1 -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet0,id=e1000-net-pci0,mac=08:2e:5f:0a:0d:a1,bus=pci.0,addr=0x5,bootindex=2 -device virtio-balloon-pci,id=ballooning,bus=pci.0,addr=0x6 -drive file=/dev/disk/by-path/ip-10.66.90.100:3260-iscsi-iqn.2001-05.com.equallogic:0-8a0906-0971f7d03-1dff49b26885073d-s2-sluo-172259-lun-0,if=none,id=drive-data-disk,format=raw,cache=none,aio=native,werror=stop,rerror=stop -device virtio-scsi-pci,vectors=0,bus=pci.0,addr=0x7,id=scsi0 -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0,bootindex=3 -boot menu=on -k en-us -spice port=5931,disable-ticketing -vga qxl -qmp tcp:0:4444,server,nowait -serial unix:/tmp/ttyS0,server,nowait -monitor stdio

Comment 3 Gerd Hoffmann 2013-08-30 08:15:35 UTC
Patches posted.

Comment 4 Miroslav Rezanina 2013-09-26 09:32:00 UTC
Fix included in qemu-kvm-1.5.3-7.el7

Comment 6 Uri Lublin 2013-10-08 07:34:38 UTC
*** Bug 980714 has been marked as a duplicate of this bug. ***

Comment 7 mazhang 2013-11-28 09:44:29 UTC
For this bug reproduce, both downgrade all relative package and install old tree can not reproduce this bug, so this bug could only happened in the special tree which has been removed.

For my test of this bug after update qemu-kvm package.

host:
RHEL-7.0-20131123.0
qemu-kvm-1.5.3-19.el7.x86_64
kernel-3.10.0-57.el7.x86_64
spice-server-0.12.4-3.el7.x86_64

guest:
RHEL-7.0-20131123.0

client:
FC18
virt-viewer-0.5.4-3.fc18.x86_64

cli:
...
-vga qxl \
-spice port=5900,disable-ticketing \
-global PIIX4_PM.disable_s3=0 \
-global PIIX4_PM.disable_s4=0 \
-drive file=gluster://10.66.4.113/gv0/rhel7-64.raw,if=none,id=drive-virtio-disk0,format=raw,cache=none,werror=stop,rerror=stop,aio=threads \
-device virtio-blk-pci,scsi=off,bus=pci.0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \

Result:
Guest work well, can login guest and display normal, not found the phenomenon in attachment.

Comment 9 Ludek Smid 2014-06-13 13:17:42 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.