From: Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
To: Jeremy Fitzhardinge <jeremy-TSDbQ3PG+2Y@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH] Refactor hypercall infrastructure
Date: Fri, 14 Sep 2007 16:46:30 -0500 [thread overview]
Message-ID: <46EB0136.6080105@codemonkey.ws> (raw)
In-Reply-To: <46EAFBA0.4020503-TSDbQ3PG+2Y@public.gmane.org>
Jeremy Fitzhardinge wrote:
> Anthony Liguori wrote:
>
>> The whole point of using the instruction is to allow hypercalls to be
>> used in many locations. This has the nice side effect of not
>> requiring a central hypercall initialization routine in the guest to
>> fetch the hypercall page. A PV driver can be completely independent
>> of any other code provided that it restricts itself to it's hypercall
>> namespace.
>>
>
> I see. So you take the fault, disassemble the instruction, see that its
> another CPU's vmcall instruction, and then replace it with the current
> CPU's vmcall?
>
Yup.
>> Xen is currently using 0/1/2. I had thought it was only using 0/1.
>> The intention was not to squash Xen's current CPUID usage so that it
>> would still be possible for Xen to make use of the guest code. Can we
>> agree that Xen won't squash leaves 3/4 or is it not worth trying to be
>> compatible at this point?
>>
>
> No, the point is that you're supposed to work out which hypervisor it is
> from the signature in leaf 0, and then the hypervisor can put anything
> it wants in the other leaves.
>
Yeah, see, the initial goal was to make it possible to use the KVM
paravirtualizations on other hypervisors. However, I don't think this
is really going to be possible in general so maybe it's better to just
use leaf 0. I'll let others chime in before sending a new patch.
Regards,
Anthony Liguori
> J
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
next prev parent reply other threads:[~2007-09-14 21:46 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-14 19:45 [PATCH] Refactor hypercall infrastructure Anthony Liguori
[not found] ` <11897991353793-git-send-email-aliguori-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2007-09-14 19:47 ` Anthony Liguori
2007-09-14 20:53 ` Jeremy Fitzhardinge
[not found] ` <46EAF4C6.8090903-TSDbQ3PG+2Y@public.gmane.org>
2007-09-14 21:02 ` Anthony Liguori
[not found] ` <46EAF6FC.80207-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-09-14 21:20 ` Zachary Amsden
[not found] ` <1189804847.5982.137.camel-cxY/u30q8FloTgUnLF1by8fTvwmfpRNyZeezCHUQhQ4@public.gmane.org>
2007-09-14 21:44 ` Anthony Liguori
[not found] ` <46EB00D8.3090903-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-09-15 3:37 ` Zachary Amsden
[not found] ` <1189827476.5982.143.camel-cxY/u30q8FloTgUnLF1by8fTvwmfpRNyZeezCHUQhQ4@public.gmane.org>
2007-09-15 8:08 ` Avi Kivity
2007-09-15 17:33 ` Anthony Liguori
2007-09-14 21:22 ` Jeremy Fitzhardinge
[not found] ` <46EAFBA0.4020503-TSDbQ3PG+2Y@public.gmane.org>
2007-09-14 21:46 ` Anthony Liguori [this message]
[not found] ` <46EB0136.6080105-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-09-14 21:52 ` Jeremy Fitzhardinge
[not found] ` <46EB02BA.6030909-TSDbQ3PG+2Y@public.gmane.org>
2007-09-14 22:08 ` Anthony Liguori
[not found] ` <46EB0657.40603-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-09-14 22:40 ` Nakajima, Jun
[not found] ` <97D612E30E1F88419025B06CB4CF1BE10379EBF9-1a9uaKK1+wJcIJlls4ac1rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-09-14 23:00 ` Jeremy Fitzhardinge
[not found] ` <46EB1285.5050807-TSDbQ3PG+2Y@public.gmane.org>
2007-09-15 0:10 ` Nakajima, Jun
[not found] ` <97D612E30E1F88419025B06CB4CF1BE10379ED0A-1a9uaKK1+wJcIJlls4ac1rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-09-15 0:28 ` Jeremy Fitzhardinge
[not found] ` <46EB2716.1070908-TSDbQ3PG+2Y@public.gmane.org>
2007-09-15 1:04 ` Nakajima, Jun
[not found] ` <97D612E30E1F88419025B06CB4CF1BE10379ED4C-1a9uaKK1+wJcIJlls4ac1rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-09-15 4:53 ` Jeremy Fitzhardinge
[not found] ` <46EB6556.5020506-TSDbQ3PG+2Y@public.gmane.org>
2007-09-15 6:11 ` Nakajima, Jun
2007-09-15 18:23 ` [kvm-devel] " Anthony Liguori
[not found] ` <46EC233B.5010209-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2007-09-17 18:14 ` Nakajima, Jun
2007-09-17 18:27 ` [kvm-devel] " Anthony Liguori
[not found] ` <46EEC6FE.5060306-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2007-09-17 19:15 ` Jeremy Fitzhardinge
[not found] ` <46EED256.40801-TSDbQ3PG+2Y@public.gmane.org>
2007-09-17 19:33 ` Anthony Liguori
2007-09-17 19:15 ` [kvm-devel] " Jeremy Fitzhardinge
[not found] ` <46EED250.5080207-TSDbQ3PG+2Y@public.gmane.org>
2007-09-17 20:52 ` Nakajima, Jun
2007-09-15 8:00 ` Avi Kivity
2007-09-15 7:53 ` Avi Kivity
2007-09-15 2:35 ` Rusty Russell
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=46EB0136.6080105@codemonkey.ws \
--to=anthony-rdkfgonbjusknkdkm+me6a@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=jeremy-TSDbQ3PG+2Y@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.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