[libvirt-users] Libvirt API for getting disk capacity from VM XML

Varsha Verma varsha.verma.eee15 at itbhu.ac.in
Thu Jun 13 09:47:16 UTC 2019

Hello everyone,
I am doing an outreachy internship at Openstack Ironic. In the sushy-tools
project, we are using libvirt VMs to simulate bare metal machines for
testing purposes.

In the XML description of a domain, there are a bunch of disk elements
giving information about the various storage devices attached to the
domain. Is there some way to get the size/capacity of those disks using the
libvirt API?



*Varsha Verma*

*Fourth Year Undergraduate*

*Department of Electrical Engineering*

*IIT-BHU, Varanasi*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20190613/4d1a2fa7/attachment.htm>

More information about the libvirt-users mailing list