From: Volkmar Uhlig <vuhlig@us.ibm.com>
To: arai@vmware.com, zach@vmware.com
Cc: xen-devel@lists.xensource.com, wim.coekaerts@oracle.com,
chrisw@osdl.org, chrisl@vmware.com, jbeulich@novell.com,
chrisw@sous-sol.org, virtualization@lists.osdl.org,
torvalds@osdl.org, anne@vmware.com, jreddy@vmware.com,
kmacy@fsmware.com, ksrinivasan@novell.com,
leendert@watson.ibm.com, linux-kernel@vger.kernel.org
Subject: RE: [RFC, PATCH 5/24] i386 Vmi code patching
Date: Wed, 22 Mar 2006 18:41:06 -0500 [thread overview]
Message-ID: <OF6C9205F6.79606CB4-ON05257139.0080D734@us.ibm.com> (raw)
> -----Original Message-----
> From: arai@vmware.com
> Sent: Wednesday, March 22, 2006 5:34 PM
>
> > The idea of in-tree ROM code doesn't make sense. The entire point
> > of this layer of code is that it is modular, and specific to the
> > hypervisor, not the kernel. Once you lift the shroud and combine
> > the two layers, you have lost all of the benefit that it was
> > supposed to provide.
>
> To elaborate a bit more, the "ROM" layer is "published" by
> the hypervisor. This layer of abstraction will let you take
> a VMI-compiled kernel and run it efficiently on any
> hypervisor that exports a VMI interface - even one that you
> didn't know about (or didn't exist) when you compiled your kernel.
>
> [...]
>
> Going forward, having the ROM layer published by the
> hypervisor gives the hypervisor more flexibility than having
> the code statically compiled into the kernel. Consider when
> hardware virtualization becomes more prevalent. Perhaps
> there are places where today hypercalls make sense, but with
> hardware virtualization, you'd rather have the hardware just
> take care of it. CPUID is the only example I can come up
> with at the moment, but there are certainly others. VMI lets
> the hypervisor decide that it doesn't actually need to
> replace the CPUID instruction with a hypercall. The
> important factor here is that only the hypervisor, not the
> kernel, knows about these performance tradeoffs.
Very obvious other candidates are the shadowed system state registers
(cli, sti, CRx) provided by VT and the shadow page-table support as
defined by Pacifica. In particular since these features are dependent on
the specific processor revision a hard-coded binary interface doesn't do
any good. The ROM pretty much resembles Linux' system call interface as
provided today optimizing for the specific HW architecture.
- Volkmar
next reply other threads:[~2006-03-22 23:41 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-22 23:41 Volkmar Uhlig [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-03-28 0:52 Chuck Ebbert
2006-03-28 1:48 ` Zachary Amsden
2006-03-13 18:02 Zachary Amsden
2006-03-15 10:02 ` Chris Wright
2006-03-15 16:01 ` Zachary Amsden
2006-03-15 22:05 ` Anthony Liguori
2006-03-15 23:00 ` Pavel Machek
2006-03-17 0:51 ` Zachary Amsden
2006-03-17 10:08 ` Joshua LeVasseur
2006-03-17 21:11 ` Chris Wright
2006-03-18 0:49 ` Joshua LeVasseur
2006-03-16 19:10 ` Jan Engelhardt
2006-03-16 19:45 ` Rik van Riel
2006-03-16 21:54 ` Zachary Amsden
2006-03-22 20:15 ` Andi Kleen
2006-03-22 21:40 ` Chris Wright
2006-03-22 22:16 ` Zachary Amsden
2006-03-22 22:33 ` Daniel Arai
2006-03-22 23:02 ` Chris Wright
2006-03-22 22:51 ` Chris Wright
2006-03-22 23:36 ` Zachary Amsden
2006-03-23 0:41 ` Chris Wright
2006-03-23 0:54 ` Zachary Amsden
2006-03-23 1:06 ` Chris Wright
2006-03-23 4:04 ` Zachary Amsden
2006-03-23 11:42 ` Joshua LeVasseur
2006-03-23 0:31 ` Anthony Liguori
2006-03-23 0:40 ` Chris Wright
2006-03-23 9:25 ` Keir Fraser
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=OF6C9205F6.79606CB4-ON05257139.0080D734@us.ibm.com \
--to=vuhlig@us.ibm.com \
--cc=anne@vmware.com \
--cc=arai@vmware.com \
--cc=chrisl@vmware.com \
--cc=chrisw@osdl.org \
--cc=chrisw@sous-sol.org \
--cc=jbeulich@novell.com \
--cc=jreddy@vmware.com \
--cc=kmacy@fsmware.com \
--cc=ksrinivasan@novell.com \
--cc=leendert@watson.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
--cc=virtualization@lists.osdl.org \
--cc=wim.coekaerts@oracle.com \
--cc=xen-devel@lists.xensource.com \
--cc=zach@vmware.com \
/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
all inboxes | Powered by JetHome®