From: Jeremy Katz <katzj@redhat.com>
To: "Nakajima, Jun" <jun.nakajima@intel.com>
Cc: xen-devel@lists.xensource.com, Ian Pratt <Ian.Pratt@cl.cam.ac.uk>,
Hollis Blanchard <hollisb@us.ibm.com>
Subject: RE: 32/64-bit hypercall interface
Date: Mon, 03 Oct 2005 12:11:58 -0400 [thread overview]
Message-ID: <1128355918.3003.16.camel@gondor> (raw)
In-Reply-To: <7F740D512C7C1046AB53446D37200173056777A0@scsmsx402.amr.corp.intel.com>
On Sat, 2005-10-01 at 11:25 -0700, Nakajima, Jun wrote:
> Jeremy Katz wrote:
> > On Fri, 2005-09-30 at 17:42 +0100, Keir Fraser wrote:
> >> There's the rub: we don't expect to ever want to provide 32-bit x86
> >> ABI compatibility on 64-bit x86 Xen. We will not be supporting 32-bit
> >> paravirtualised guests on 64-bit x86 Xen,
> >
> > ... which I've previously said and continue to think is going to be
> > something that will eventually be regretted. People are going to want
> > to continue to run in a 32bit OS for legacy reasons for quite a while
> > (even with the compatibility you get on x86_64). Making it so they
> > can't do mix and match of 32 and 64 bit guests on a single host is
> > going to significantly reduce the utility of Xen.
> That's mostly because of the H/W issues. One thing we could do there is
> to run such paravirtualised 32-bit guests in compatibility mode. But
> they would need to use 4-level page tables, and there are other minor
> differences. So those 32-bit guests wouldn't be really same as the ones
> running on 32-bit Xen. I'm not sure that's what you wanted, but it's
> doable.
You really want to get to the same 32bit paravirt guest being used
regardless of what HV flavor you're running. Otherwise, you're in for a
compatibility nitemare. What dictates that the guest has to know about
the 4 level page tables? That's like saying that your 32bit binaries
running on 64bit Linux need to know that there is a larger address space
when instead that gets handled by the kernel.
> I think a better way is to utilize H/W-based virtualization such as
> Intel Virtualization Technology (VT) or AMD's Pacifica. That way we
> should be able to use the same binaries (thus ABI) for both 32-bit
> non-PAE and PAE domU on 64-bit x86 Xen. With H/W-based virtualization we
> can run those 32-bit guests cleanly in 32-bit on 64-bit Xen. 32-bit
> hypercalls from such 32-bit guests should be intercepted by a 32-bit
> ring0 component that converts "int 0x82" based ones to VMCALL or VMMCALL
> sent to 64-bit Xen (because such software interrupts won't cause
> VMEXIT). There are other issues like impacts to the memory management in
> Xen, but I think those can be handled as special cases of shadow mode
> (i.e. don't make shadow pages). I don't think it would increase the
> utility of Xen right away (because this requires new processors), but it
> might be a sensible thing to do in the near future.
Right, the problem is that people have bought hardware and they're going
to want to use it. I think that having things work on the hardware I've
already purchased will help to give people a much better migration path
for the future. If I'm going to have to run my legacy 32bit stuff on a
different machine anyway, then I can feel more free to look at other
platforms for my "future" stuff.
Jeremy
next prev parent reply other threads:[~2005-10-03 16:11 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-01 18:25 32/64-bit hypercall interface Nakajima, Jun
2005-10-03 16:11 ` Jeremy Katz [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-10-04 21:51 Nakajima, Jun
2005-10-04 22:47 ` Hollis Blanchard
2005-10-04 16:03 Nakajima, Jun
2005-10-04 16:45 ` Andi Kleen
2005-10-03 22:03 Ian Pratt
2005-10-04 18:05 ` Hollis Blanchard
2005-10-05 10:22 ` Keir Fraser
2005-10-03 21:24 Nakajima, Jun
2005-10-04 12:11 ` Andi Kleen
2005-10-04 16:15 ` Hollis Blanchard
2005-10-03 19:56 Ian Pratt
2005-10-03 20:04 ` Jeremy Katz
2005-10-03 21:11 ` Hollis Blanchard
2005-10-03 22:00 ` Keir Fraser
2005-10-04 16:27 ` Hollis Blanchard
2005-10-04 12:08 ` Andi Kleen
2005-10-03 19:11 Nakajima, Jun
2005-10-03 19:28 ` Hollis Blanchard
2005-10-02 21:21 Ian Pratt
2005-09-29 13:56 Ian Pratt
2005-09-29 18:17 ` Hollis Blanchard
2005-09-29 20:12 ` Hollis Blanchard
2005-09-29 22:26 ` Keir Fraser
2005-09-29 22:43 ` Keir Fraser
2005-09-30 0:54 ` Andrei Petrov
2005-09-30 8:03 ` Keir Fraser
2005-09-30 15:38 ` Jimi Xenidis
2005-09-30 20:05 ` Ronald G Minnich
2005-09-30 20:28 ` Hollis Blanchard
2005-09-30 20:39 ` Ronald G Minnich
2005-09-30 15:39 ` Hollis Blanchard
2005-09-30 15:45 ` Keir Fraser
2005-09-30 16:34 ` Hollis Blanchard
2005-09-30 16:42 ` Keir Fraser
2005-09-30 17:03 ` Hollis Blanchard
2005-10-01 1:33 ` Jeremy Katz
2005-10-03 19:34 ` Kip Macy
2005-09-30 16:44 ` David
2005-09-30 16:44 ` Keir Fraser
2005-09-30 16:57 ` Hollis Blanchard
2005-09-30 16:55 ` Andrei Petrov
2005-10-03 18:18 ` Hollis Blanchard
2005-09-28 21:36 Hollis Blanchard
2005-09-29 9:00 ` Keir Fraser
2005-09-29 12:41 ` Jimi Xenidis
2005-09-29 13:13 ` 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=1128355918.3003.16.camel@gondor \
--to=katzj@redhat.com \
--cc=Ian.Pratt@cl.cam.ac.uk \
--cc=hollisb@us.ibm.com \
--cc=jun.nakajima@intel.com \
--cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.