[Libvir] Disks and NICs

Daniel Veillard veillard at redhat.com
Thu Dec 13 13:40:35 UTC 2007


On Thu, Dec 13, 2007 at 06:39:45PM +0530, Katti, Vadiraj (STSD-Openview) wrote:
> 
>    Hi,
>         Libvirt  provides  the disk and Network interfaces statistics for
>    each  of the guests configured. Is there a api which tells me how many
>    disk  and  network interface are configured per guest so that can make
>    the  corrosponding  calls  to  get the statistics of each the disk/nic
>    (like virDomainBlockStats and virDomainInterfaceStats).

  Get the Domain XML and analyze it, see:
    http://libvirt.org/html/libvirt-libvirt.html#virDomainGetXMLDesc
and
    http://libvirt.org/format.html

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/




More information about the libvir-list mailing list