Re: Regarding libvirt usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/13/2013 01:26 AM, Manzoor Ahamed wrote:
> Hi Team,
> 
>         I am using libvirt module to retrieve configuration of the virtual
> machines, Can you please tell me how to retrieve the  disk space of the
> Virtual machines. In my KVM hyper i am running two virtual machines.

virDomainGetBlockInfo tells you how much host resources the guest disk
is using, but to find out from the guest itself how much the guest
thinks it has free, you'd have to add a new guest agent command.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux