Hi, Very good advice. Thx. J.P. -----Message d'origine----- De : Lars Kellogg-Stedman [mailto:lars@xxxxxxxxxx] Envoyé : vendredi 4 décembre 2015 18:27 À : Jean-Pierre Ribeauville Cc : libvirt-users@xxxxxxxxxx Objet : Re: virsh attach device equivalent in libvirt API On Fri, Dec 04, 2015 at 04:37:58PM +0000, Jean-Pierre Ribeauville wrote: > Hi, > > Is there an equivalent of "virsh attach-device -live -persistent" > within libvirt API : Use the source, Luke! You can see exactly how virsh implements the attach-device command: https://github.com/libvirt/libvirt/blob/master/tools/virsh-domain.c#L238 -- Lars Kellogg-Stedman <lars@xxxxxxxxxx> | larsks @ {freenode,twitter,github} Cloud Engineering / OpenStack | http://blog.oddbit.com/ _______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users