[libvirt] inability to open local read-only connection

Daniel P. Berrange berrange at redhat.com
Fri Aug 20 14:30:12 UTC 2010


On Fri, Aug 20, 2010 at 09:15:04AM -0500, Tavares, John wrote:
> Should the memory utilization as report from inside a guest match that 
> as reported by the hypervisor??  I think one of my QA engineers may have
> pointed out a Windows guest where this was not the case.

It depends what libvirt APi you are referring to when you talk about
memory utilization. virDomainGetInfo returns data about the memory
allocated to the guest by the hypervisor. This says nothing about
what the guest OS is doing with the memory. eg, the guest has been
given 500 MB, but its OS may have only used 200 MB so far.

We have a fairly new API virDomainGetMemoryStats that can give info
about how much of its allocated memory a guest has actually used,
along with stats on swap in/out and major/minor fails. This is only
implemented for KVM + virtio though and requires a guest with a pretty
new balloon driver to report the data


Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list