Hi,
Very good advice.
Thx.
J.P.
-----Message d'origine-----
De : Lars Kellogg-Stedman [mailto:lars@redhat.com]
Envoyé : vendredi 4 décembre 2015 18:27
À : Jean-Pierre Ribeauville
Cc : libvirt-users(a)redhat.com
Objet : Re: [libvirt-users] 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(a)redhat.com> | larsks @ {freenode,twitter,github}
Cloud Engineering / OpenStack |
http://blog.oddbit.com/