WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] about vmxassist

To: yushang <yusunn@xxxxxxxxx>
Subject: Re: [Xen-devel] about vmxassist
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Sat, 08 Mar 2008 17:01:09 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 08 Mar 2008 09:02:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <298d852f0803080855p429c4716ga88d583a82223205@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciBPgFPP5tZpu0xEdyqtQAX8io7RQ==
Thread-topic: [Xen-devel] about vmxassist
User-agent: Microsoft-Entourage/11.4.0.080122
Yes, that's why it replaces vmxassist! It more accurately simulates the
real-mode environment than vmxassist was able to, hence more real-mode code
runs correctly under full emulation (e.g., a wider range of bootloaders).

 -- Keir

On 8/3/08 16:55, "yushang" <yusunn@xxxxxxxxx> wrote:

> Thanks . I see . It seems the real-mode emulator is more advanced than
> vmxassist ?
> 
> 2008/3/9, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>:
>> On 8/3/08 07:11, "yushang" <yusunn@xxxxxxxxx> 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
>> 
>> 
>> 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>