Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1367975

Summary: Too much warning prompt when booting with qxl-vga and multiple qxl device
Product: Red Hat Enterprise Linux 7 Reporter: Guo, Zhiyi <zhguo>
Component: spiceAssignee: Default Assignee for SPICE Bugs <rh-spice-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: SPICE QE bug list <spice-qe-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: cfergeau, chayang, fziglio, jjongsma, juzhang, knoel, michen, tpelka, virt-maint, xfu, zhguo
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-26 13:43:56 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:

Description Guo, Zhiyi 2016-08-18 03:18:58 UTC
Description of problem:
Too much warning prompt when booting with qxl vga and qxl

Version-Release number of selected component (if applicable):
qemu-kvm-rhev package:qemu-kvm-rhev-2.6.0-21.el7.x86_64
host & guest kernel:
3.10.0-489.el7.x86_64
How reproducible:

100% reproduce
Steps to Reproduce:
1.Boot rhel7.3 guest use qemu cli:
/usr/libexec/qemu-kvm -name rhel7.3 -m 2048 \
        -cpu Haswell-noTSX \
        -smp 6,threads=2,cores=1,sockets=3,maxcpus=6 \
	-device qxl-vga\
	-device qxl\
	-device qxl\
        -spice port=5901,disable-ticketing \
        -device virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent \
        -serial unix:/tmp/m,server,nowait \
        -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
        -drive file=rhel73.qcow2,if=none,id=drive-scsi-disk0,format=qcow2,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,id=scsi0,disable-modern=off,disable-legacy=off -device scsi-hd,drive=drive-scsi-disk0,bus=scsi0.0,scsi-id=0,lun=0,id=scsi-disk0,bootindex=1 \
        -monitor stdio \
        -usb -device usb-kbd,id=input0 \
        -netdev tap,id=idinWyYp -device virtio-net-pci,mac=42:ce:a9:d2:4d:d7,id=idlbq7eA,netdev=idinWyYp \
        -qmp tcp:localhost:4444,server,nowait \
	-device ich9-intel-hda -device hda-duplex \

2.Wait for about 10 seconds and check qemu-kvm status
3.

Actual results:
Too much warning prompt and such messages will repeat about 350 times:
(/usr/libexec/qemu-kvm:10245): SpiceWorker-Warning **: red_worker.c:1307:validate_surface: failed on 0
(/usr/libexec/qemu-kvm:10245): SpiceWorker-Warning **: red_worker.c:1308:validate_surface: condition `!worker->surfaces[surface_id].context.canvas' reached
(/usr/libexec/qemu-kvm:10245): SpiceWorker-Warning **: red_worker.c:153:rendering_incorrect: rendering incorrect from now on: get_drawable
(/usr/libexec/qemu-kvm:10245): SpiceWorker-Warning **: red_worker.c:153:rendering_incorrect: rendering incorrect from now on: failed to get_drawable
(/usr/libexec/qemu-kvm:10245): SpiceWorker-Warning **: red_worker.c:1306:validate_surface: canvas address is 0x7ff12495c308 for 0 (and is NULL)


Expected results:
No such kind of warning messages prompt

Additional info:
No warning messages prompt when booting windows 10 guest. Also no warning messages prompt when booting with virtio-vga and multiple virtio-gpu device

Comment 2 Jonathon Jongsma 2017-04-12 21:46:47 UTC
I've tried several times now and cannot reproduce these warnings. Can you still reproduce the problem? If you can, what version of spice-server are you using?

Comment 3 Guo, Zhiyi 2017-04-26 10:05:04 UTC
Hi,

 Sorry for the long time response, test against the rhel7.4 guest with kernel 3.10.0-656.el7.x86_64, I don't see this problem in 10 trials. So I think this bug can close now

BR/
Guo, Zhiyi

Comment 4 Jonathon Jongsma 2017-04-26 13:43:56 UTC
Thanks for verifying. I'll close it as CURRENTRELEASE.