In virt-manager
, when viewing the Storage tab under Connection Details, there is a "Used By" column that shows the domain using each volume:
How can I determine this same information, namely, the domain using a given volume, using the API (python bindings)?
I browsed the API documentation and ran dir()
on libvirt, libvirt.virConnect, libvirt.virStoragePool, and libvirt.virStorageVol, but I'm still at a loss on this one.