Bug 701984

Summary: RFE: Offer "spicevmc" character device in Add Hardware dialog
Product: Red Hat Enterprise Linux 6 Reporter: David Jaša <djasa>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: bsarathy, dyuan, mzhan, rwu
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
No description necessary
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 16:11:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Jaša 2011-05-04 13:23:44 UTC
Description of problem:
Virt-manager's Add Hardware --> Serial dialog contains a "Device Type" selection that contains several kinds of serial devices but the one needed by spice guest agent is missing

Version-Release number of selected component (if applicable):
virt-manager-0.8.6-4.el6.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
qemu CLI options for this device:
-device virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0

Comment 2 Cole Robinson 2011-06-10 22:28:51 UTC
This is currently upstream.

Comment 3 Cole Robinson 2011-07-28 15:31:05 UTC
Fixed in virt-manager-0.9.0-2.el6

Comment 5 Min Zhan 2011-08-04 03:15:28 UTC
Verified PASS with below environment:
# uname -r
2.6.32-165.el6.x86_64
qemu-kvm-0.12.1.2-2.175.el6.x86_64
libvirt-0.9.4-0rc1.2.el6.x86_64
virt-manager-0.9.0-5.el6.x86_64

Steps:
1. For a spice guest, Divert to guest details page
2. Click Add hardware -> Channel -> Device type as "Spice agent(spicevmc)", Name as "com.redhat.spice.0", Click Finish
3. Start the guest from virt-manager successfully. 
# virsh dumpxml <guest>
...
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
...

# ps -ef |grep kvm
...
-chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0

Comment 9 Cole Robinson 2011-11-07 16:39:00 UTC
    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:
No description necessary

Comment 10 errata-xmlrpc 2011-12-06 16:11:57 UTC
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.

http://rhn.redhat.com/errata/RHBA-2011-1642.html