]> git.proxmox.com Git - qemu.git/commit
tcg-i386: Use %gs prefixes for x86_64 GUEST_BASE
authorRichard Henderson <rth@twiddle.net>
Mon, 22 Oct 2012 02:11:07 +0000 (12:11 +1000)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 28 Oct 2012 13:54:25 +0000 (14:54 +0100)
commit44b37ace0636cd229e956c5000a1bb6a49e274e7
treefb3771e520836d2b1ead8807a26a13acbbe5ccf7
parentd73ee8a2b5267adae41ecb464cae06a185d2b0f9
tcg-i386: Use %gs prefixes for x86_64 GUEST_BASE

When we allocate a reserved_va for the guest, the kernel will likely
choose an address well above 4G.  At which point we must use a pair
of movabsq+addq to form the host address.  If we have OS support,
set up a segment register to point to guest_base instead.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/i386/tcg-target.c