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. Thanks, Xiaowei _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel