[Bug 500272] Re: qemu-kvm 0.12.1.1 needed for KSM support (key KVM virtualization feature)

Brian Knoll brianknoll2000 at yahoo.com
Sun Jan 3 01:29:01 GMT 2010


I am curious as to what you're running into, as I've run into a problem
myself trying to build the package for all of the targets.

The problem I've run into when trying to build the package from source
is that it doesn't seem to build all of the targets that the old
(0.11.x) package did.  So I end up with only the qemu-system-x86_64
target plus a few supporting binaries, but I'm missing all the full-virt
packages for the other architectures.  So this is preventing me from
going any further with it so far.

I was thinking about this some more, and a possible workaround for Lucid
would be to just go with 0.11.1 but patch the exec.c file to include the
madvise() call.  I think this is what Fedora did for Fedora 12.  Of
course, that doesn't really resolve the issue of getting the new version
working, which would be far preferable, and will need to be done
eventually, but it gives us a fallback position that allows KSM support
for Lucid in the event the 0.12.1.1 integration can't happen in time for
Lucid.  I did download the 0.11.1 sources off the upstream site and
patched the exec.c with the madvise() call by hand, and it does indeed
work.

I'm including a patch for the change I made to the 0.11.1 sources just
in case it's useful to you at all.

Also, depending on how much work has already been done on 0.12.1.1, I
thought I'd mention that 0.12.1.2 was released on 2009-12-30.  I don't
see any dramatic changes but I thought I'd mention it in case anything
is in there that might matter.


** Attachment added: "KSM support patch for KVM 0.11.1 sources"
   http://launchpadlibrarian.net/37373426/ksm-patch-0.11.1.diff

-- 
qemu-kvm 0.12.1.1 needed for KSM support (key KVM virtualization feature)
https://bugs.launchpad.net/bugs/500272
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.



More information about the Ubuntu-server-bugs mailing list