From: yushang Subject: Re: about vmxassist Date: Sun, 9 Mar 2008 00:55:41 +0800 Message-ID: <298d852f0803080855p429c4716ga88d583a82223205@mail.gmail.com> References: <298d852f0803072311n651b2ca5u71ec9acaf3f20c59@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Thanks . I see . It seems the real-mode emulator is more advanced than vmxassist ? 2008/3/9, Keir Fraser : > 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 > > >