« Previous | Next » 

Revision 44b37ace

ID44b37ace0636cd229e956c5000a1bb6a49e274e7

Added by Richard Henderson over 11 years ago

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 <>
Signed-off-by: Aurelien Jarno <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences