Userspace guest address offsetting
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · Anthony Liguori
From: Paul Brook <[email protected]>
Re-implement
GUEST_BASEsupport.
Offset guest ddress space by default if the guest binary contains regions below the hostmmap_min_addr.
Implement support for i386, x86-64 and arm hosts.Signed-off-by Riku Voipio <[email protected]>Signed-off-by Paul Brook <[email protected]>
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?
tcg/i386/tcg-target.c +1 -1
@@ -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 );
Filip Navara
Acked-byQuoted 13 lines · Juan Quintela
Quoted 9 lines · Anthony Liguori
From: Paul Brook <[email protected]>
Re-implement
GUEST_BASEsupport.
Offset guest ddress space by default if the guest binary contains regions below the hostmmap_min_addr.
Implement support for i386, x86-64 and arm hosts.Signed-off-by Riku Voipio <[email protected]>Signed-off-by Paul Brook <[email protected]>Hi
Quoted 7 lines
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 <[email protected]>
The patch is definitely correct and should be applied.
F.