[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4614C846.7070605@qumranet.com>
Date: Thu, 05 Apr 2007 12:58:30 +0300
From: Avi Kivity <avi@...ranet.com>
To: Ingo Molnar <mingo@...e.hu>
CC: Rusty Russell <rusty@...tcorp.com.au>,
kvm-devel@...ts.sourceforge.net, netdev <netdev@...r.kernel.org>
Subject: Re: [kvm-devel] QEMU PIC indirection patch for in-kernel APIC work
Ingo Molnar wrote:
> so right now the only option for a clean codebase is the KVM in-kernel
> code.
I strongly disagree with this. Bad code in userspace is not an excuse
for shoving stuff into the kernel, where maintaining it is much more
expensive, and the cause of a mistake can be system crashes and data
loss, affecting unrelated processes. If we move something into the
kernel, we'd better have a really good reason for it.
Qemu code _is_ crufty. We can do one of three things:
1. live with it
2. fork it and clean it up
3. clean it up incrementally and merge it upstream
Currently we're doing (1). You're suggesting a variant of (2), fork
plus move into the kernel. The right thing to do IMO is (3), but I
don't see anybody volunteering. Qemu picked up additional committers
recently and I believe they would be receptive to cleanups.
[In the *pic/pit case, we have other reasons to push things into the
kernel. But "this code is crap, let's rewrite it in the kernel" is not
a justification I'll accept. I'd be much happier if we could quantify
these other reasons.]
--
error compiling committee.c: too many arguments to function
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists