diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-08-15 10:45:05 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-08-15 10:45:05 +0100 |
commit | 01c74dcb721aa3012ae81538409c6cafb02b5232 (patch) | |
tree | 70aa50ea033800c323b1e0787e4a0bfd9eefb2e5 /tools/xenmon | |
parent | 386f9501d539410da1fee424568325060ecf0747 (diff) | |
download | xen-01c74dcb721aa3012ae81538409c6cafb02b5232.tar.gz xen-01c74dcb721aa3012ae81538409c6cafb02b5232.tar.bz2 xen-01c74dcb721aa3012ae81538409c6cafb02b5232.zip |
[VMX] Fix vmxassist for booting Vista.
This patch fixes 2 vmxassist bugs to boot Vista:
1) When switching from VM86_REAL_TO_PROTECTED to VM86_PROTECTED,
protected_mode() sets return eip to switch_to_protected_mode and
segments to vmxassist's. But in later set_mode(), it still consides
these segments are guest's (Bios at this time) and use its gdt table
to calculate address(), which results in segment limitation fault. 2) In
current vmxassist, when entering VM86_PROTECTED_TO_REAL, we need to
decode every instruction manually until we catch instructions like
jmpl to reset cs to really return to real mode. Vista boot manager uses
more instructions.
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
Diffstat (limited to 'tools/xenmon')
0 files changed, 0 insertions, 0 deletions