(this is the modification for qemu to make it work with ksm) -- woof.