[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1173337352.24738.951.camel@localhost.localdomain>
Date: Thu, 08 Mar 2007 08:02:32 +0100
From: Thomas Gleixner <tglx@...utronix.de>
To: Jeremy Fitzhardinge <jeremy@...p.org>
Cc: Daniel Arai <arai@...are.com>,
Virtualization Mailing List <virtualization@...ts.osdl.org>,
john stultz <johnstul@...ibm.com>, Ingo Molnar <mingo@...e.hu>,
akpm@...ux-foundation.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree
On Wed, 2007-03-07 at 17:23 -0800, Jeremy Fitzhardinge wrote:
> Daniel Arai wrote:
> > But more importantly, we want a kernel that can run both on native hardware and
> > in a paravirtualized environment. Linux doesn't really provide abstractions for
> > replacing the appropriate code. We tried to hook into the source code at a
> > level that seemed possible.
> >
>
> Xen doesn't support any kind of apic emulation, so we'll need to hook
> anything which relies on an apic. The ipi code you quote below will
> probably be one of those.
>
> My opinion is that pv_ops shouldn't have raw apic operations, but
> instead have appropriate high-level interfaces to achieve the same
> ends. Zach's counter-argument was basically your's: that the VMI code
> will use a lot of the native code except for the actual apic operations.
>
> I can live with VMI emulating apics if it wants, so long as it does it
> in private and doesn't make a big scene about it. We'll need the
> high-level interfaces regardless.
I can't because it reaches out into non private parts of the low level
implementation and is not helping to distangle things and making the
overall code better. No it forces its own view of the world on us
without giving us anything back.
tglx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists