public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Ingo Molnar <mingo@elte.hu>
Cc: Avi Kivity <avi@redhat.com>, Pekka Enberg <penberg@kernel.org>,
	linux-kernel@vger.kernel.org, aarcange@redhat.com,
	mtosatti@redhat.com, kvm@vger.kernel.org, joro@8bytes.org,
	penberg@cs.helsinki.fi, asias.hejun@gmail.com,
	gorcunov@gmail.com
Subject: Re: [ANNOUNCE] Native Linux KVM tool
Date: Thu, 07 Apr 2011 21:14:06 -0500	[thread overview]
Message-ID: <4D9E6F6E.9050709@codemonkey.ws> (raw)
In-Reply-To: <20110406093333.GB6465@elte.hu>

On 04/06/2011 04:33 AM, Ingo Molnar wrote:
> * Avi Kivity<avi@redhat.com>  wrote:
>
>> Sure, any succcesful project becomes an ugly gooball.  It's almost a
>> compliment.
> I disagree strongly with that sentiment and there's several good counter
> examples:
>
>   - the Git project is also highly successful and is kept very clean (and has a
>     project size comparable to Qemu)
>
>   - the Linux kernel is also very clean in all areas i care about and has most
>     of its ugliness stuffed into drivers/staging/ (and has a project size more
>     than an order of magnitude larger than Qemu).
>
> In fact i claim the exact opposite: certain types of projects can only grow
> beyond a certain size and stay healthy if they are *not* ugly gooballs.
>
> Examples: X11 and GCC - both were struggling for years to break through magic
> invisible barriers of growth and IMHO a lot of it had to do with the lack of
> code (and development model) cleanliness.

So what makes Native Linux KVM tool so much cleaner?

As far as I can tell, it's architecturally identical to QEMU.  In fact, 
it's reminiscent of QEMU from about 5 years ago.  It makes the same 
mistakes of having a linear I/O dispatch model, makes no attempt to 
enable a threaded execution model, ignores thing like migration and 
manageability.

> So no, your kind of cynical, defeatist sentiment about code quality is by no
> means true in my experience. Projects become ugly gooballs once maintainers
> stop caring enough.

It think sweeping generalizations are always wrong :-)

I struggle with a lot of things in QEMU.  Compatibility is just a 
nightmare to maintain because so many of the previous interfaces and 
functionality were so poorly thought through.

If someone was going to seriously go about doing something like this, a 
better approach would be to start with QEMU and remove anything non-x86 
and all of the UI/command line/management bits and start there.

There's nothing more I'd like to see than a viable alternative to QEMU 
but ignoring any of the architectural mistakes in QEMU and repeating 
them in a new project isn't going to get there.

Too much effort in QEMU goes into working around previous mistakes.  
That doesn't mean that QEMU doesn't have a lot of useful bits in it and 
hasn't figured out a lot of good ways to do things.

Regards,

Anthony Liguori

> Thanks,
>
> 	Ingo


  parent reply	other threads:[~2011-04-08  2:14 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-31 17:30 [ANNOUNCE] Native Linux KVM tool Pekka Enberg
     [not found] ` <1B1AE097-4524-4026-85EC-F9A0E274FFF2@suse.de>
2011-04-01  7:07   ` Carsten Otte
2011-04-01  7:37     ` Cyrill Gorcunov
2011-04-01 14:26 ` Steven Rostedt
2011-04-02 20:38 ` Anthony Liguori
2011-04-03  6:21   ` Ingo Molnar
2011-04-03  8:24     ` Avi Kivity
2011-04-03  8:53       ` Pekka Enberg
2011-04-03  9:06         ` Cyrill Gorcunov
2011-04-03  9:37         ` CaT
2011-04-04 10:31         ` Ingo Molnar
2011-04-03  8:51   ` Pekka Enberg
2011-04-03  9:17     ` Avi Kivity
2011-04-03  8:23 ` Avi Kivity
2011-04-03  9:59   ` Pekka Enberg
2011-04-03 10:11     ` Avi Kivity
2011-04-03 10:17       ` Pekka Enberg
2011-04-03 10:22         ` Avi Kivity
2011-04-03 10:32           ` Pekka Enberg
2011-04-03 13:09       ` Anthony Liguori
2011-04-03 13:19         ` Avi Kivity
2011-04-06  9:33           ` Ingo Molnar
2011-04-06  9:36             ` Gleb Natapov
2011-04-06  9:46               ` Ingo Molnar
2011-04-06  9:49                 ` Avi Kivity
2011-04-06  9:51                 ` Gleb Natapov
2011-04-06 10:14             ` Olivier Galibert
2011-04-06 10:55               ` Ingo Molnar
2011-04-08  2:04                 ` Anthony Liguori
2011-04-08  2:14             ` Anthony Liguori [this message]
2011-04-08  5:14               ` Pekka Enberg
2011-04-08  6:19                 ` Cyrill Gorcunov
2011-04-08  6:47                 ` Takuya Yoshikawa
2011-04-08  6:51                   ` Pekka Enberg
2011-04-08  7:10                     ` Takuya Yoshikawa
2011-04-08  7:39                 ` Jan Kiszka
2011-04-08  8:27                   ` Pekka Enberg
2011-04-08  9:11                     ` Jan Kiszka
2011-04-08  9:32                       ` Cyrill Gorcunov
2011-04-08 10:42                         ` Jan Kiszka
2011-04-08 12:27                           ` Alexander Graf
2011-04-08 12:33                             ` Cyrill Gorcunov
2011-04-08 14:39                         ` Ted Ts'o
2011-04-08 14:00                 ` Anthony Liguori
2011-04-08 19:20                   ` Andrea Arcangeli
2011-04-08 22:59                     ` Anthony Liguori
2011-04-10  8:05                       ` Avi Kivity
2011-04-09  7:40                     ` Ingo Molnar
2011-04-12  0:58                       ` Andrea Arcangeli
2011-04-09 18:23                   ` Olivier Galibert
2011-04-10  2:54                     ` Anthony Liguori
2011-04-08 15:59               ` Scott Wood
2011-04-08 19:41                 ` gene heskett
2011-04-08 22:58                 ` Anthony Liguori
2011-04-06  8:59         ` Markus Armbruster
2011-04-06  9:29           ` Gleb Natapov
2011-04-03  9:01 ` Alon Levy
2011-04-03 10:01   ` Pekka Enberg
2011-04-03 10:15     ` Alon Levy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D9E6F6E.9050709@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=aarcange@redhat.com \
    --cc=asias.hejun@gmail.com \
    --cc=avi@redhat.com \
    --cc=gorcunov@gmail.com \
    --cc=joro@8bytes.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mtosatti@redhat.com \
    --cc=penberg@cs.helsinki.fi \
    --cc=penberg@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox