[libvirt-users] availability of target type state within a dumpxml result

Hi, I'm trying to find out what is the minimum release I need to use to have this field 'state' available ? <channel type='unix'> <source mode='bind' path='//var/lib/libvirt/qemu/dummy_agent'/> <target type='virtio' name=dummy' state='connected'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> By using a virsh 0.10.2 , it seems tooo old . Thanks for help. J.P. Ribeauville P: +33.(0).1.47.17.20.49 . Puteaux 3 Etage 5 Bureau 4 jpribeauville@axway.com<mailto:jpribeauville@axway.com> http://www.axway.com<http://www.axway.com/> P Pensez à l'environnement avant d'imprimer.

On Mon, Nov 09, 2015 at 10:28:54AM +0000, Jean-Pierre Ribeauville wrote:
Hi,
I'm trying to find out what is the minimum release I need to use to have this field 'state' available ?
libvirt added that support in 1.2.11, but you also need a version of QEMU that can signal an event on change, otherwise libvirt has nothing to report
<channel type='unix'> <source mode='bind' path='//var/lib/libvirt/qemu/dummy_agent'/> <target type='virtio' name=dummy' state='connected'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel>
By using a virsh 0.10.2 , it seems tooo old .
Thanks for help.
J.P. Ribeauville
P: +33.(0).1.47.17.20.49 . Puteaux 3 Etage 5 Bureau 4
jpribeauville@axway.com<mailto:jpribeauville@axway.com> http://www.axway.com<http://www.axway.com/>
P Pensez à l'environnement avant d'imprimer.
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Hi, You're right . I found another host in my lab . Whit these releases, it works fine : Name : qemu-kvm Arch : x86_64 Epoch : 10 Version : 1.5.3 Release : 86.el7_1.5 Name : libvirt Arch : x86_64 Version : 1.2.8 Release : 16.el7_1.3 Thanks. J.P. -----Message d'origine----- De : Martin Kletzander [mailto:mkletzan@redhat.com] Envoyé : lundi 9 novembre 2015 11:49 À : Jean-Pierre Ribeauville Cc : libvirt-users@redhat.com Objet : Re: [libvirt-users] availability of target type state within a dumpxml result On Mon, Nov 09, 2015 at 10:28:54AM +0000, Jean-Pierre Ribeauville wrote:
Hi,
I'm trying to find out what is the minimum release I need to use to have this field 'state' available ?
libvirt added that support in 1.2.11, but you also need a version of QEMU that can signal an event on change, otherwise libvirt has nothing to report
<channel type='unix'> <source mode='bind' path='//var/lib/libvirt/qemu/dummy_agent'/> <target type='virtio' name=dummy' state='connected'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel>
By using a virsh 0.10.2 , it seems tooo old .
Thanks for help.
J.P. Ribeauville
P: +33.(0).1.47.17.20.49 . Puteaux 3 Etage 5 Bureau 4
jpribeauville@axway.com<mailto:jpribeauville@axway.com> http://www.axway.com<http://www.axway.com/>
P Pensez à l'environnement avant d'imprimer.
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
participants (2)
-
Jean-Pierre Ribeauville
-
Martin Kletzander