From: Keir Fraser Subject: Re: about vmxassist Date: Sat, 08 Mar 2008 16:41:14 +0000 Message-ID: References: <298d852f0803072311n651b2ca5u71ec9acaf3f20c59@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <298d852f0803072311n651b2ca5u71ec9acaf3f20c59@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: yushang , Kamala Narasimhan Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 8/3/08 07:11, "yushang" wrote: >>> I find the code path >>> will enter the native real mode if do not use vmxassist , not a >>> emulation one . > Sorry but I mean the code path of hvmloader , just at the beginning of > hvmloader, if do not use vmxassist execution will return from main and > enter real-address mode then jmp to bios , so bios will run in > real-address mode , is this true ? Yes, as soon as real mode is entered (CR0 bit 0 is cleared) Xen notices that and runs the guest through the full real-mode emulator until CR0 bit 0 is set again. -- Keir