From: Keir Fraser <keir.xen@gmail.com>
To: Mukesh Rathor <mukesh.rathor@oracle.com>,
"Xen-devel@lists.xensource.com" <Xen-devel@lists.xensource.com>
Subject: Re: __vmptrst() broken...
Date: Tue, 22 Nov 2011 07:46:09 +0000 [thread overview]
Message-ID: <CAF103C1.25562%keir.xen@gmail.com> (raw)
In-Reply-To: <20111121184743.281f8364@mantra.us.oracle.com>
On 22/11/2011 02:47, "Mukesh Rathor" <mukesh.rathor@oracle.com> wrote:
> Hi Keir,
>
> __vmptrst() seems broken. It is:
>
> static inline void __vmptrst(u64 addr)
> {
> asm volatile ( VMPTRST_OPCODE
> MODRM_EAX_07
> :
> : "a" (&addr)
> : "memory");
> }
>
>
> should be:
>
> static inline void __vmptrst(u64 *addr)
> {
> asm volatile ( VMPTRST_OPCODE
> MODRM_EAX_07
> :
> : "a" (addr)
> : "memory");
> }
>
>
>
> Do you think you can just fix it in one of your changes without
> official patch?
It's obviously not used. It's probably not even useful (we know what VMCS we
last loaded). I'll just remove it.
-- Keir
> thanks much,
> Mukesh
prev parent reply other threads:[~2011-11-22 7:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-22 2:47 __vmptrst() broken Mukesh Rathor
2011-11-22 7:46 ` Keir Fraser [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=CAF103C1.25562%keir.xen@gmail.com \
--to=keir.xen@gmail.com \
--cc=Xen-devel@lists.xensource.com \
--cc=mukesh.rathor@oracle.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.