Bug 688572
Summary: | spice-server does not switch back to server mouse mode if guest spice-agent dies. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Hans de Goede <hdegoede> |
Component: | qemu-kvm | Assignee: | Hans de Goede <hdegoede> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1 | CC: | alevy, dblechte, ehabkost, juzhang, mkenneth, mkrcmari, spice-qe-bugs, tburke, virt-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
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 11:21:02 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Hans de Goede
2011-03-17 11:44:30 UTC
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. We've a fix for this, adding devel ack. This actual cause of this problem is inside of qemu, not spice-server. Patches have been posted to rhvirt-patches, changing component. 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. According to comment9,set this issue status as verified. 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. 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 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 |