KVM, QEMU, and kernel project management
Posted Mar 23, 2010 21:49 UTC (Tue) by
mingo (subscriber, #31122)
In reply to:
KVM, QEMU, and kernel project management by drag
Parent article:
KVM, QEMU, and kernel project management
Nice observations, i agree with most of them.
Just wanted to react to this bit:
And moving Qemu into the kernel sounds pretty dumb, btw.
If you meant this as "moving into the kernel as a subsystem" then i agree that moving Qemu into the kernel would be a pretty dumb thing indeed. [*]
What i suggested was to move it into the kernel repository (maybe you understood it as such), but still as a user-space project - a'la tools/perf/.
That is a plain user-space tool that lives in the kernel repository. It can be built and installed in user-space by doing:
cd tools/perf/
make -j install
And it's a regular Linux app.
It is an admittedly very unusual development model to maintain a user-space tool within the kernel repository, but for such a tool with such close ties to the Linux kernel as perf there are many advantages, and it worked out well beyond our expectations.
Thanks, Ingo
[*] with the caveat that it does make sense to move certain device emulation and paravirt functionality into the kernel, and not emulate it straight from Qemu. Many performance problems of KVM result from excessive execution in Qemu.
(
Log in to post comments)