[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.
Description: PGP signature
_______________________________________________ libvirt-users mailing list firstname.lastname@example.org https://www.redhat.com/mailman/listinfo/libvirt-users