Re: [libvirt-users] virsh channel

Tadas
2016-07-04T08:39:09Z

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'>
> >
> >  <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 tag.
>
> >
> > _______________________________________________
> > libvirt-users mailing list
> > libvirt-users@redhat.com
> > https://www.redhat.com/mailman/listinfo/libvirt-users