[libvirt-users] virsh channel

Tadas tadas at ring.lt
Mon Jul 4 08:39:09 UTC 2016


I understand that. And since socket paths are different on every VM
startup - is there a virsh command to get paths of currently running
VM?
On Mon, 2016-07-04 at 10:09 +0200, Martin Kletzander wrote:
> On Mon, Jul 04, 2016 at 10:17:24AM +0300, Tadas wrote:
> > Hello,
> > 
> >  Is there any command to list all available channels for specific
> > machine?
> > For example, i have a additional spice serial device:
> > <channel type='unix'>
> >  <source mode='bind'/>
> >  <target type='virtio' name='com.redhat.kvm-vdi.0'/>
> >  <address type='virtio-serial' controller='0' bus='0' port='2'/>
> > </channel>
> > 
> > Is there any way to get full path to this socket on hypervisor
> > side?
> > 
> 
> That should be visible when the domain is running.  That is because
> it
> is auto-generated and can change on every start.  If you want stable
> path to the socket then you need to specify it in the <source/> tag.
> 
> > 
> > _______________________________________________
> > libvirt-users mailing list
> > libvirt-users at redhat.com
> > https://www.redhat.com/mailman/listinfo/libvirt-users




More information about the libvirt-users mailing list