<div dir="ltr"><div>Hello everyone,</div><div>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. <br></div><div><br></div><div>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?<br></div><div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><div><i><span style="background-color:rgb(153,153,153)"></span><span style="color:rgb(153,153,153)">Regards,<br></span></i></div><span style="color:rgb(153,153,153)"><i>Varsha Verma<br></i></span></div><div><span style="color:rgb(153,153,153)"><i>Fourth Year Undergraduate<br></i></span></div><span style="color:rgb(153,153,153)"><i>Department of Electrical Engineering<br></i></span></div><i><font color="#999999">IIT-BHU, Varanasi<br></font></i></div></div></div></div>