Re: [RFC] Unify KVM kernel-space and user-space code into a single project

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Avi Kivity
Date: Thursday, March 18, 2010 - 6:36 am

On 03/18/2010 03:00 PM, Ingo Molnar wrote:

The development process of course matters, and we have worked hard to 
fix qemu's.  Basic code structure also matters, but you don't fix that 
with cp.


A qemu GUI is not deeply related to the kernel.  Or at all.


Well, when last I sent x86 patches, they went to you and hpa, applied to 
tip, from which I had to merge them back.  Two repositories.  After 
several weeks they did end up in a third repository, Linus'.  The 
process isn't trivial or fast, but it works.


I am not arguing for UML and don't understand why you think so.


The VGA dirty bitmap is 256 bytes in length.  Copying it doesn't take 
any time at all.

People are in fact working on a copy-less dirty bitmap solution, for 
live migration of very large memory guests.  Expect set_bit_user() 
patches for tip.git.


If you have suggestions for further optimizations (or even patches) I'd 
love to hear them.

One solution we are working on is QXL, a framebuffer-less graphics card 
designed for spice.  The use case is again server based (hosted 
desktops) but may be adapted for desktop-on-desktop use.


I really don't see how.  So what if both qemu and kvm implement an 
i8254?  They can't share any code since the internal APIs are so 
different.  Even worse for the x86 emulator as qemu and kvm are 
fundamentally different.  Even more with the qemu timers and kernel 
dyntick code.


qemu runs on other kernels (including Windows), just without kvm.


The vast majority of qemu has nothing to do with kvm, all the kvm 
interface bits are in two files.  Things like the GUI, the VNC server, 
IDE emulation, the management interface (the monitor), live migration, 
qcow2 and ~15 other file format drivers, chipset emulation, USB 
controller emulation, snapshot support, slirp, serial port emulation, 
and a zillion other details have nothing to do with kvm.


If they were, it would be worth it.

-- 
error compiling committee.c: too many arguments to function

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Frank Ch. Eigler, (Thu Mar 18, 5:33 am)
Re: [PATCH] Enhance perf to collect KVM guest os statistic ..., Arnaldo Carvalho de Melo, (Thu Mar 18, 6:03 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Frank Ch. Eigler, (Thu Mar 18, 6:24 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Avi Kivity, (Thu Mar 18, 6:36 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Daniel P. Berrange, (Thu Mar 18, 6:44 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Frank Ch. Eigler, (Thu Mar 18, 7:39 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Anthony Liguori, (Thu Mar 18, 11:10 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Anthony Liguori, (Thu Mar 18, 11:20 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Frederic Weisbecker, (Thu Mar 18, 11:20 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Frank Ch. Eigler, (Thu Mar 18, 12:50 pm)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Olivier Galibert, (Fri Mar 19, 2:52 am)
Re: [LKML] Re: [RFC] Unify KVM kernel-space and user-space ..., Konrad Rzeszutek Wilk, (Fri Mar 19, 6:56 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Andrea Arcangeli, (Fri Mar 19, 7:53 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Andrea Arcangeli, (Sat Mar 20, 7:59 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Olivier Galibert, (Sun Mar 21, 1:08 pm)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Daniel P. Berrange, (Mon Mar 22, 5:37 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Daniel P. Berrange, (Mon Mar 22, 5:54 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Daniel P. Berrange, (Mon Mar 22, 6:05 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Richard W.M. Jones, (Mon Mar 22, 6:23 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Richard W.M. Jones, (Mon Mar 22, 7:01 am)
Re: [PATCH] Enhance perf to collect KVM guest os statistic ..., Arnaldo Carvalho de Melo, (Mon Mar 22, 9:44 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Frank Ch. Eigler, (Mon Mar 22, 10:17 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Anthony Liguori, (Mon Mar 22, 11:28 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Anthony Liguori, (Mon Mar 22, 11:30 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Anthony Liguori, (Mon Mar 22, 11:35 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Anthony Liguori, (Mon Mar 22, 11:41 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Anthony Liguori, (Mon Mar 22, 12:15 pm)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Anthony Liguori, (Mon Mar 22, 12:18 pm)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Andrea Arcangeli, (Mon Mar 22, 12:28 pm)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Anthony Liguori, (Mon Mar 22, 12:29 pm)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Daniel P. Berrange, (Mon Mar 22, 12:31 pm)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Anthony Liguori, (Mon Mar 22, 12:33 pm)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Daniel P. Berrange, (Mon Mar 22, 1:58 pm)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Olivier Galibert, (Tue Mar 23, 2:46 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Bernd Petrovitsch, (Tue Mar 23, 3:48 am)
Re: [PATCH] Enhance perf to collect KVM guest os statistic ..., Arnaldo Carvalho de Melo, (Tue Mar 23, 6:15 am)
Re: [PATCH] Enhance perf to collect KVM guest os statistic ..., Arnaldo Carvalho de Melo, (Tue Mar 23, 7:10 am)
Re: [PATCH] Enhance perf to collect KVM guest os statistic ..., Arnaldo Carvalho de Melo, (Tue Mar 23, 7:29 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Javier Guerra Giraldez, (Tue Mar 23, 12:05 pm)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Daniel P. Berrange, (Wed Mar 24, 8:26 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Arnaldo Carvalho de Melo, (Wed Mar 24, 10:47 am)
Re: [RFC] Unify KVM kernel-space and user-space code into ..., Arnaldo Carvalho de Melo, (Wed Mar 24, 11:27 am)