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.
Cause: race condition when spice-vdagent is started in the guest and the client connects to it
Consequence: if the 1st monitor was disabled, it could sometimes be wrongly reenabled after restarting spice-vdagentd
Fix: delay sending monitor configuration when an agent connects so that we get a chance to negociate client/agent capabilities first
Result: first display no longer gets wrongly reenabled
Created attachment 827084[details]
Spice debug log file
Description
Additional display pop out when restarting service spice-vdagentd in guest
Version:
libvirt-0.10.2-29.el6.1.x86_64
virt-viewer-0.5.6-8.el6.x86_64
spice-gtk-python-0.20-11.el6.x86_64
spice-xpi-2.7-24.el6.x86_64
spice-vdagent-0.14.0-2.el6.x86_64
spice-glib-0.20-11.el6.x86_64
spice-gtk-0.20-11.el6.x86_64
spice-server-0.12.4-6.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1.Prepare a spice guest with qxl and spicevmc,install spice-vdagent in guest.
2.Boot the guest,use virt-viewer to launch the guest,disable display 1 and enable other displays,eg display 2.
# virt-viewer $guest
3.Restart service spice-vdagentd in guest.
4.Display 1 will pop out.
Actual results:
As description.
Expected results:
No additional display pop out when restarting service spice-vdagentd in guest.
Additional info:
1.If enable display 1,then restart service spice-vdagentd in guest,no additional display pop out.
2.Disable display 1,enable display 3 or 4,restart service spice-vdagentd in guest,display 1 will pop put.
3.The issue can not be reproduced on rhel7.
Comment 1Marc-Andre Lureau
2014-06-04 12:47:20 UTC
I can't reproduce with:
virt-viewer-0.6.0-2.el6
spice-vdagent-0.14.0-3.el6_5.x86_64
xorg-x11-drv-qxl-0.1.1-12.el6.x86_64
Please check with more recent vdagent & qxl, or if virt-viewer-0.6.0-2.el6 update fixed the issue. thanks
(In reply to Marc-Andre Lureau from comment #1)
> I can't reproduce with:
>
> virt-viewer-0.6.0-2.el6
> spice-vdagent-0.14.0-3.el6_5.x86_64
> xorg-x11-drv-qxl-0.1.1-12.el6.x86_64
>
> Please check with more recent vdagent & qxl, or if virt-viewer-0.6.0-2.el6
> update fixed the issue. thanks
I tested with:
spice-vdagent-0.14.0-3.el6_5.x86_64
xorg-x11-drv-qxl-0.1.1-12.el6.x86_64
virt-viewer-0.6.0-4.el6.x86_64
The bug can still be reproduced.
Comment 3Marc-Andre Lureau
2014-06-05 08:20:02 UTC
How do you restart vdagent?
Can you provide xrandr before and after the restart?
thanks
I also cannot reproduce the issue here with latest RHEL6 as guest:
spice-vdagent-0.14.0-3.el6.x86_64
xorg-x11-drv-qxl-0.1.1-12.el6.x86_64
And F20 as host (using upstream virt-viewer)
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2015-1322.html
Created attachment 827084 [details] Spice debug log file Description Additional display pop out when restarting service spice-vdagentd in guest Version: libvirt-0.10.2-29.el6.1.x86_64 virt-viewer-0.5.6-8.el6.x86_64 spice-gtk-python-0.20-11.el6.x86_64 spice-xpi-2.7-24.el6.x86_64 spice-vdagent-0.14.0-2.el6.x86_64 spice-glib-0.20-11.el6.x86_64 spice-gtk-0.20-11.el6.x86_64 spice-server-0.12.4-6.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1.Prepare a spice guest with qxl and spicevmc,install spice-vdagent in guest. 2.Boot the guest,use virt-viewer to launch the guest,disable display 1 and enable other displays,eg display 2. # virt-viewer $guest 3.Restart service spice-vdagentd in guest. 4.Display 1 will pop out. Actual results: As description. Expected results: No additional display pop out when restarting service spice-vdagentd in guest. Additional info: 1.If enable display 1,then restart service spice-vdagentd in guest,no additional display pop out. 2.Disable display 1,enable display 3 or 4,restart service spice-vdagentd in guest,display 1 will pop put. 3.The issue can not be reproduced on rhel7.