All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juan Quintela <quintela@redhat.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: qemu-devel@nongnu.org, Paul Brook <paul@codesourcery.com>
Subject: [Qemu-devel] Re: [COMMIT 379f669] Userspace guest address offsetting
Date: Fri, 17 Jul 2009 20:11:36 +0200	[thread overview]
Message-ID: <m3ab33b2nb.fsf@neno.mitica> (raw)
In-Reply-To: <200907171219.n6HCJOOJ013182@d01av03.pok.ibm.com> (Anthony Liguori's message of "Fri\, 17 Jul 2009 12\:19\:26 -0000")

Anthony Liguori <aliguori@us.ibm.com> wrote:
> From: Paul Brook <paul@codesourcery.com>
>
> Re-implement GUEST_BASE support.
> Offset guest ddress space by default if the guest binary contains
> regions below the host mmap_min_addr.
> Implement support for i386, x86-64 and arm hosts.
>
> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
> Signed-off-by: Paul Brook <paul@codesourcery.com>

Hi

I need this patch to be able to crosscompile for windows.
No, I don't know if it is correct, but for the context it looks like
this is the intent.

Paul?

Signed-off-by: Juan Quintela <quintela@redhat.com>

diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c
index ed61780..a95fe4c 100644
--- a/tcg/i386/tcg-target.c
+++ b/tcg/i386/tcg-target.c
@@ -624,7 +624,7 @@ static void tcg_out_qemu_ld(TCGContext *s, const TCGArg *args,
         }
         if (!bswap) {
             tcg_out_modrm_offset(s, 0x8b, data_reg, r0, GUEST_BASE);
-            tcg_out_modrm_offset(s, 0x8b, data_reg2, r0, GUEST+BASE + 4);
+            tcg_out_modrm_offset(s, 0x8b, data_reg2, r0, GUEST_BASE + 4);
         } else {
             tcg_out_modrm_offset(s, 0x8b, data_reg, r0, GUEST_BASE + 4);
             tcg_out_opc(s, (0xc8 + data_reg) | P_EXT);

       reply	other threads:[~2009-07-17 18:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200907171219.n6HCJOOJ013182@d01av03.pok.ibm.com>
2009-07-17 18:11 ` Juan Quintela [this message]
2009-07-17 18:24   ` [Qemu-devel] Re: [COMMIT 379f669] Userspace guest address offsetting Filip Navara

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=m3ab33b2nb.fsf@neno.mitica \
    --to=quintela@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=paul@codesourcery.com \
    --cc=qemu-devel@nongnu.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 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.