commit | 0521e4c0bc73aa86152ee4e4bd03724c8a9e1d6b | [log] [tgz] |
---|---|---|
author | Nelson Elhage <nelhage@ksplice.com> | Wed Apr 13 11:44:13 2011 -0400 |
committer | Avi Kivity <avi@redhat.com> | Wed May 11 07:57:09 2011 -0400 |
tree | 01e60574962d06155ebea802e0dd7832a893f474 | |
parent | 49704f26586ca87fcab4fe9323fff8db41e78910 [diff] |
KVM: x86 emulator: Handle wraparound in (cs_base + offset) when fetching insns Currently, setting a large (i.e. negative) base address for %cs does not work on a 64-bit host. The "JOS" teaching operating system, used by MIT and other universities, relies on such segments while bootstrapping its way to full virtual memory management. Signed-off-by: Nelson Elhage <nelhage@ksplice.com> Signed-off-by: Avi Kivity <avi@redhat.com>