Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 688572 - spice-server does not switch back to server mouse mode if guest spice-agent dies.
spice-server does not switch back to server mouse mode if guest spice-agent d...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm (Show other bugs)
6.1
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Hans de Goede
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-17 07:44 EDT by Hans de Goede
Modified: 2013-01-09 18:40 EST (History)
9 users (show)

See Also:
Fixed In Version: qemu-kvm-0.12.1.2-2.153.el6
Doc Type: Bug Fix
Doc Text:
Cause: spice-server no longer switched back to server mouse mode if the guest spice-agent died. Consequence: non functional mouse if the guest spice-agent dies. Fix: made virtio-console notify spice-chardev of guest open / close. Consequence: mouse is functional even if spice-agent is stopped in the guest.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-05-19 07:21:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0534 normal SHIPPED_LIVE Important: qemu-kvm security, bug fix, and enhancement update 2011-05-19 07:20:36 EDT

  None (edit)
Description Hans de Goede 2011-03-17 07:44:30 EDT
The spice-server no longer switches back to server mouse mode if the guest spice-agent dies. This leads to a non functional mouse if the guest spice-agent dies.
Comment 2 Marian Krcmarik 2011-03-17 11:47:45 EDT
I was able to reproduce with Windows7 guest. After windows agent process got stuck mouse mode wasn't switched to server mode and It was not able to click with mouse.
Comment 3 Hans de Goede 2011-03-18 11:02:37 EDT
We've a fix for this, adding devel ack.
Comment 4 Hans de Goede 2011-03-22 09:46:15 EDT
This actual cause of this problem is inside of qemu, not spice-server. Patches have been posted to rhvirt-patches, changing component.
Comment 9 juzhang 2011-04-10 03:50:42 EDT
Reproduced with qemu-kvm-tools-0.12.1.2-2.152.el6.x86_64.

steps:
1. /usr/libexec/qemu-kvm -m 2G -smp 4 -drive
file=/root/zhangjunyi/rhel6.1-64.qcow2,if=none,id=test,cache=none,format=qcow2,werror=stop,rerror=stop
-device virtio-blk-pci,drive=test -cpu qemu64,+sse2,+x2apic -boot c -netdev
tap,id=hostnet0,vhost=on -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=22:11:22:45:66:94 -spice
port=5930,disable-ticketing -vga qxl -serial stdio -qmp
tcp:0:4444,server,nowait -usb -device virtio-serial-pci,id=virtio-serial1
-chardev spicevmc,id=charchannel0,name=vdagent -device
virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
-soundhw ac97

2. in guest.
#stop spice-vdagentd service

Results:
mouse lost.

Verified with qemu-kvm-tools-0.12.1.2-2.156.el6.x86_64.

Resutls:
After step2,mouse works well.
Comment 10 juzhang 2011-04-10 03:51:27 EDT
According to comment9,set this issue status as verified.
Comment 11 Eduardo Habkost 2011-05-03 15:06:09 EDT
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: spice-server no longer switched back to server mouse mode if the guest spice-agent died.

Consequence: non functional mouse if the guest spice-agent dies.

Fix: made virtio-console notify spice-chardev of guest open / close.

Consequence: mouse is functional even if spice-agent is stopped in the guest.
Comment 12 errata-xmlrpc 2011-05-19 07:21:02 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html
Comment 13 errata-xmlrpc 2011-05-19 09:02:26 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html

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