[libvirt] New libvirt API for domain memory statistics reporting (V3)
Adam Litke
agl at us.ibm.com
Mon Jan 4 14:26:31 UTC 2010
On Tue, 2009-12-29 at 10:58 +0100, Thomas Treutner wrote:
> On Wednesday 23 December 2009 19:42:20 Adam Litke wrote:
> > Attached to this email are two patches:
> >
> > memstats-kernel-2.6.32-rc5.patch:
> > Applies to 2.6.32-rc5 which should be a capable-enough kernel for
> > testing and development.
> >
> > memstats-qemu-0.12.1.patch:
> > Applies to qemu-0.12.1 which can be found here:
> > http://mirrors.igsobe.com/nongnu/qemu/qemu-0.12.1.tar.gz
> > Unfortunately, it is not trivial for me to port this work to 0.11.0 so
> > you will have to find a resolution to your BIOS woes first and then use
> > this version. Who knows, it might already be fixed in 0.12.1.
>
> I tried with qemu-*kvm*-0.12.1.1, no memstats yet, but dynamically setting the
> amount of memory now doesn't work at all. I'll try to isolate the problem, I
> suspect it comes from qemu-kvm-0.12.1.1.
>From your next message I see that you've figured this out. The wrapper
script will also be required when using the new qemu as well.
> I can't use qemu-0.12.1:
>
> $ ./configure --enable-kvm --disable-xen
> #error Missing KVM capability KVM_CAP_DESTROY_MEMORY_REGION_WORKS
> NOTE: To enable KVM support, update your kernel to 2.6.29+ or install
> recent kvm-kmod from http://sourceforge.net/projects/kvm.
> ERROR
> ERROR: User requested feature kvm
> ERROR: configure was not able to find it
> ERROR
Try using the --kerneldir=PATH option to point configure at your
2.6.32.2 source.
--
Thanks,
Adam
More information about the libvir-list
mailing list