I see. Never considered a glibc header dependency. In fact, I thought
that having at least kernel 2.6.32 and recent qemu-kvm would suffice...
How about an --enable-ksm configure option which checks and requires
MADV_MERGABLE to be defined?
That way, people (like me) would notice instead of
To clarify: custom kernel == vanilla Linux kernel, i.e. not distribution
kernel.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/687733
Title:
Linux KSM not compiled in (MADV_MERGEABLE always undef)
Public bug reported:
Linux KSM support is not enabled because MADV_MERGEABLE remains undefined.
It seems that asm-generic/mman-common.h is not included. Maybe some kind of
header dependency problem?
Adding
#include asm-generic/mman-common.h
to exec.c of qemu-kvm-0.13.0 enables use of KSM and