Re: Libvirt API for attaching volume to domain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Please don't top-post on technical lists.]

On Wed, Aug 14, 2019 at 19:43:11 +0530, Varsha Verma wrote:
> Thanks, this is exactly what I needed.
> 
> Is there some documentation where I can get how to exactly call this
> function along with the arguments?

python has builtin documentation:

import libvirt
help(libvirt)

Disk XML documentation is here:
https://libvirt.org/formatdomain.html#elementsDisks

the C api documentation is here:
https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainAttachDeviceFlags

Also for inspiration 'virsh attach-disk' supports the --print-xml
argument.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux