public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: kvm@vger.kernel.org, xin.li@intel.com
Subject: Re: [PATCH] KVM: x86 emulator: fix %rip-relative addressing with immediate source operand
Date: Tue, 21 Jun 2011 12:45:23 -0300	[thread overview]
Message-ID: <20110621154523.GA708@amt.cnet> (raw)
In-Reply-To: <1308500471-6222-1-git-send-email-avi@redhat.com>

On Sun, Jun 19, 2011 at 07:21:11PM +0300, Avi Kivity wrote:
> %rip-relative addressing is relative to the first byte of the next instruction,
> so we need to add %rip only after we've fetched any immediate bytes.
> 
> Signed-off-by: Avi Kivity <avi@redhat.com>
> ---
>  arch/x86/kvm/emulate.c |   12 +++++++-----
>  1 files changed, 7 insertions(+), 5 deletions(-)

Applied, thanks.


      parent reply	other threads:[~2011-06-21 15:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-19 16:21 [PATCH] KVM: x86 emulator: fix %rip-relative addressing with immediate source operand Avi Kivity
2011-06-21  9:09 ` Li, Xin
2011-06-21  9:16   ` Avi Kivity
2011-06-21 15:45 ` Marcelo Tosatti [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=20110621154523.GA708@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=xin.li@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox