Bug 1174859
| Summary: | missing support for -spice disable-agent-file-xfer qemu commandline option | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Francesco Romani <fromani> | ||||||
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 7.0 | CC: | dyuan, jdenemar, ovasik, rbalakri, zhwang, zpeng | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | libvirt-1.2.8-1.el7 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2015-03-05 07:48:14 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Francesco Romani
2014-12-16 15:51:29 UTC
Created attachment 969624 [details]
qemu command line made by libvirt
Well, apparently nobody asked for the feature to be backported to 7.0. Anyway, this is already included in 7.1 via rebase. Verify this bug with libvirt-1.2.8-11.el7, The following was the verify steps
pkginfo
host:
rhel7.1
qemu-kvm-rhev-2.1.2-17.el7.x86_64
spice-server-0.12.4-8.el7.x86_64
libvirt-1.2.8-11.el7.x86_64
guest:
rhel7/win7-64
spice-vdagent-0.14.0-9.el7.x86_64/vdagent-win-3.5-1
client:
rhel6
virt-viewer-0.5.6-8.el6.x86_64
rhel7
virt-viewer-0.6.0-12.el7.x86_64
steps
1. start two guests with spice-agent enabled(it was enabled by default)
# virsh list
Id Name State
----------------------------------------------------
30 rhel7 running
31 win7 running
2. Connect the two guests in the fc19
#remote-viewer spice://$server_ip:$port_number
3.Drag a file from the rhel6/rhel7 to the guests, the file can be draged successfully
4.Destroy the two guests, then disable the spice agent in libvirt side
#virsh dumpxml rhel7
# virsh dumpxml rhel7 |grep filetransfer -B 2
<graphics type='spice' port='5903' autoport='no' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/>
<filetransfer enable='no'/>
# virsh dumpxml win7 |grep filetransfer -B 1
<graphics type='spice' autoport='yes' listen='0.0.0.0'>
<filetransfer enable='no'/>
5.start the two guests, check the qemu command of the guest, we could see the spice agent was disabled in qemu side
# ps aux|grep rhel6m
qemu 21085 59.3 3.4 1511736 279984 ? Sl 04:19 0:14 /usr/libexec/qemu-kvm -name rhel7 --
-device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=com.redhat.spice.0 -spice port=5903,addr=0.0.0.0,disable-ticketing,disable-agent-file-xfer,seamless-migration=on
#ps aux|grep win7
# ps aux|grep win7
qemu 21123 72.3 13.5 1593504 1084444 ? Sl 04:19 1:05 /usr/libexec/qemu-kvm -name win7 --
-spice port=5900,addr=0.0.0.0,disable-ticketing,disable-agent-file-xfer,seamless-migration=on
6.Connect the two guests in the both rhel6/rhel7
#remote-viewer spice://$server_ip:$port_number
7.Drag a file from the rhel6/rhel7 to the guests, the file can't be draged to the guest successfully
According to the upper steps, mark this bug verifed
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/RHSA-2015-0323.html |