
16 Sep
2013
16 Sep
'13
2:33 p.m.
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 (we aren't quite there yet, but that's another story).
How can i do this from remote host using libvirt module ? Started using and learning libvirt so dont know how to execute it . Thanks in advance.
In this particular case, use virDomainGetBlockInfo (aka 'virsh -c qemu://remote/system domblkinfo $dom $disk'). -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org