Displaying 1 result from an estimated 1 matches for "virstoragepoollookupby".
2019 Jun 13
1
Libvirt API for getting disk capacity from VM XML
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