Bug 990767 - RFE: add support for 'unix' and 'pty' channels
RFE: add support for 'unix' and 'pty' channels
Product: Virtualization Tools
Classification: Community
Component: virt-manager (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Cole Robinson
Depends On:
  Show dependency treegraph
Reported: 2013-07-31 20:17 EDT by Jonathan Lebon
Modified: 2013-08-17 10:11 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-08-17 10:11:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jonathan Lebon 2013-07-31 20:17:13 EDT
Description of problem:

Right now, the virt-manager GUI only allows users to add 'spicevmc' channels. However, there are two other possible types: 'pty' and 'unix' (see http://libvirt.org/formatdomain.html#elementCharChannel). Just like the 'spicevmc' channel, this would also automatically add a Controller Virtio Serial device to the VM. The extra XML that would be generated for a virtio-serial UNIX socket looks like this:

  <controller type='virtio-serial' index='0' ports='16' vectors='4'/>
  <channel type='unix'>
    <source mode='bind' path='/tmp/foobar'/>
    <target type='virtio' name='my_virtio_port'/>

It seems like virt-manager has *some* knowledge of these devices since modifying the XML does result in virt-manager showing them in the list. There's just no way of creating them directly from within the GUI as it stands.

Version-Release number of selected component (if applicable):

Comment 1 Cole Robinson 2013-08-17 10:11:44 EDT
This is upstream now

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