[libvirt-users] virsh attach device equivalent in libvirt API
Lars Kellogg-Stedman
lars at redhat.com
Fri Dec 4 17:27:27 UTC 2015
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 at redhat.com> | larsks @ {freenode,twitter,github}
Cloud Engineering / OpenStack | http://blog.oddbit.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20151204/3e5bf9e1/attachment.sig>
More information about the libvirt-users
mailing list