All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xensource.com>
To: Tomas Kouba <tomas@jikos.cz>, xen-devel <xen-devel@lists.xensource.com>
Subject: Re: [PATCH][libxc] xc_translate_foreign_address with additional parameter
Date: Fri, 05 Jan 2007 14:36:10 +0000	[thread overview]
Message-ID: <C1C412DA.727B%keir@xensource.com> (raw)
In-Reply-To: <459E5E60.1060002@jikos.cz>




On 5/1/07 14:19, "Tomas Kouba" <tomas@jikos.cz> wrote:

> I think it would be handy(*) to have additional function
> xc_translate_foreign_address_cr3 that does the same as
> xc_translate_foreign_address but with explicit cr3 register.
> The actual xc_translate_foreign_address takes its cr3 from
> vcpu context.

Even better would be to accept cr3, cr4 and efer msr. That's sufficient to
work out the execution mode (non-pae, pae, 64-bit). Or the caller could work
out the mode and pass it in as an enumeration value (perhaps with a fallback
default of 'whatever is most likely').

 -- Keir

  reply	other threads:[~2007-01-05 14:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-05 14:19 [PATCH][libxc] xc_translate_foreign_address with additional parameter Tomas Kouba
2007-01-05 14:36 ` Keir Fraser [this message]
2007-01-05 16:32   ` Bryan D. Payne

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=C1C412DA.727B%keir@xensource.com \
    --to=keir@xensource.com \
    --cc=tomas@jikos.cz \
    --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.