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?
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-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20160704/79c74d12/attachment.sig>
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@redhat.com > > https://www.redhat.com/mailman/listinfo/libvirt-users