Re: [libvirt-users] Regarding libvirt usage

2013-09-16 Thread Eric Blake
On 09/13/2013 11:59 PM, Manzoor Ahamed wrote: [please don't top-post on technical lists] > > Thanks for the reply. > > > qemu-img info /VirtualMachines/KVM/machine.qcow2 Ideally, libvirt should expose everything you need so that you don't have to resort to raw qemu-img calls (

Re: [libvirt-users] Regarding libvirt usage

2013-09-13 Thread Manzoor Ahamed
Hi Adam, Thanks for the reply. qemu-img info /VirtualMachines/KVM/machine.qcow2 image: /VirtualMachines/KVM/machine.qcow2 file format: qcow2 virtual size: 250G (268435456000 bytes) disk size: 174G** cluster_size: 65536 How can i do this from remote host using

Re: [libvirt-users] Regarding libvirt usage

2013-09-13 Thread vonNieda, Adam (USMS)
You can get the block devices assigned to a VM with the following.. virsh domblklist Target Source vda/VirtualMachines/KVM/machine.qcow2 hdc/VirtualMachines/iso/gparted-live-0.12.1-1.iso For more detailed info, you can use

Re: [libvirt-users] Regarding libvirt usage

2013-09-13 Thread Eric Blake
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. virDomainGetBloc