RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 974887 - the screen of guest fail to display correctly when use spice + qxl driver
Summary: the screen of guest fail to display correctly when use spice + qxl driver
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Gerd Hoffmann
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 980714 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-17 03:17 UTC by Sibiao Luo
Modified: 2014-06-18 03:29 UTC (History)
12 users (show)

Fixed In Version: qemu-kvm-1.5.3-7.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 13:17:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot for guest (103.96 KB, image/png)
2013-06-17 03:18 UTC, Sibiao Luo
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.