All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andrew Morton <akpm@osdl.org>, Chaz Masden <zamsden@gmail.com>,
	Petr Vandrovec <petr@vmware.com>,
	virtualization@lists.linux-foundation.org,
	Chris Wright <chrisw@sous-sol.org>,
	Virtualization Mailing List <virtualization@lists.osdl.org>,
	Ingo Molnar <mingo@elte.hu>
Subject: Re: [RFC, PATCH 0/5] Paravirt: fix export of paravirt-ops to	binary modules
Date: Sun, 22 Apr 2007 18:00:17 -0700	[thread overview]
Message-ID: <462C0521.6000800@goop.org> (raw)
In-Reply-To: <1177287845.17026.27.camel@localhost.localdomain>

Rusty Russell wrote:
> On Mon, 2007-04-23 at 01:49 +0200, Andi Kleen wrote:
>   
>>> Less exports good.  Consistency with all config options isn't a hard
>>> requirement: I'd be tempted not to export the pte functions.
>>>       
>> Yes paravirt_ops should be probably split into two for internal and external
>> available functions. Any takers? 
>>     
>
> Hi Andi!
>
> 	I'm a little uncomfortable with cutting the struct this way: I always
> thought it'd be a function split if we did one.
>
> 	With the new patch code we could simply shuffle all the exportables to
> the front and fail to patch calls past this point (then fail the module
> load).
>
> I'll see what I can come up with...

There was some discussion about hybrid paravirt/fully virt hypervisor
models at the Xen summit.  There are definitely some interesting things
you can do by having a mostly paravirtualized guest running within an
hvm container.

One of the things I was considering as a result was splitting the
privileged instruction ops (all the cr?, msr, segment stuff) into a
cpu_ops, and putting the pagetable stuff into pagetable_ops.  That would
make a broad split of shadow vs direct pagetables and hvm vs non-hvm
models pretty straightforward, and probably sharing more interfaces than
they might otherwise.

    J

      parent reply	other threads:[~2007-04-23  1:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-20  1:52 [RFC, PATCH 0/5] Paravirt: fix export of paravirt-ops to binary modules Zachary Amsden
2007-04-20  9:34 ` Andi Kleen
2007-04-20 15:03   ` Jeremy Fitzhardinge
2007-04-20 21:25     ` Zachary Amsden
2007-04-20 21:33       ` Jeremy Fitzhardinge
2007-04-20 21:36         ` Zachary Amsden
2007-04-20 23:01           ` Jeremy Fitzhardinge
2007-04-20 23:02             ` Zachary Amsden
2007-04-22 23:37           ` Rusty Russell
2007-04-22 23:49             ` Andi Kleen
2007-04-23  0:24               ` Rusty Russell
2007-04-23  0:49                 ` Andi Kleen
2007-04-23  1:04                   ` Rusty Russell
2007-04-23 21:18                     ` Zachary Amsden
2007-04-23  1:00                 ` Jeremy Fitzhardinge [this message]

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=462C0521.6000800@goop.org \
    --to=jeremy@goop.org \
    --cc=akpm@osdl.org \
    --cc=chrisw@sous-sol.org \
    --cc=mingo@elte.hu \
    --cc=petr@vmware.com \
    --cc=rusty@rustcorp.com.au \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=virtualization@lists.osdl.org \
    --cc=zamsden@gmail.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.