From: Nelson Elhage Date: Wed, 13 Apr 2011 15:44:13 +0000 (-0400) Subject: KVM: x86 emulator: Handle wraparound in (cs_base + offset) when fetching insns X-Git-Tag: v3.0-rc1~350^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0521e4c0bc73aa86152ee4e4bd03724c8a9e1d6b;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed