Re: [libvirt] Get disk size for disk type=network

2014-03-11 Thread Qiang Fu
, Eric Blake ebl...@redhat.com wrote: On 03/10/2014 07:09 PM, Qiang Fu wrote: Hi, In the output of virsh dumpxml command the disk section is as follows: disk type='network' device='disk' driver name='qemu' type='raw' cache='writeback'/ auth username='svl-cc1-cinder-user

[libvirt] Get disk size for disk type=network

2014-03-10 Thread Qiang Fu
Hi, In the output of virsh dumpxml command the disk section is as follows: disk type='network' device='disk' driver name='qemu' type='raw' cache='writeback'/ auth username='svl-cc1-cinder-user' secret type='ceph' uuid='e80afa94-a64c-486c-9e34-d55e85f26406'/ /auth

Re: [libvirt] KVM Domain memory and disk usage

2014-02-28 Thread Qiang Fu
, Bruce On Thu, Feb 27, 2014 at 11:16 AM, Martin Kletzander mklet...@redhat.comwrote: On Tue, Feb 25, 2014 at 09:19:34AM -0500, Qiang Fu wrote: Hi all, I am trying to use virsh to get the memory and storage usage for KVM domain. Right now we can get domain memory statistics through

Re: [libvirt] KVM Domain memory and disk usage

2014-02-28 Thread Qiang Fu
On Fri, Feb 28, 2014 at 3:15 PM, Eric Blake ebl...@redhat.com wrote: On 02/28/2014 11:28 AM, Qiang Fu wrote: Right now we can get domain memory statistics through the following virsh cmds: 1. dumpxml: this returns memory and currentMemory This are settings for the domain

[libvirt] KVM Domain memory and disk usage

2014-02-25 Thread Qiang Fu
Hi all, I am trying to use virsh to get the memory and storage usage for KVM domain. Right now we can get domain memory statistics through the following virsh cmds: 1. dumpxml: this returns memory and currentMemory 2. dominfo: this returns Max memory and Used memory 3.

[libvirt] Get Info for QEMU/KVM storage and volume

2014-02-13 Thread Qiang Fu
Hi all, I am new to libvirt. Right now I am trying to use libvirt to get statistics information (size, free space and so on) on host storage and vm volume running on QEMU/KVM hypervisor. However when I looked at the API support matrix: http://libvirt.org/hvsupport.html#virStorageDriver It seems