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] [PATCH] Use virtual 8086 mode for VMX guests with CR0.PE

To: "Tim Deegan" <Tim.Deegan@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Use virtual 8086 mode for VMX guests with CR0.PE == 0
From: "Trolle Selander" <trolle.selander@xxxxxxxxx>
Date: Tue, 9 Dec 2008 20:58:02 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 09 Dec 2008 17:58:38 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=jN9Kc2N1yyJuc0D7VSO54m265yo4e1yM0Zt2gqsGbYk=; b=keX2N7EUW3axGPYmgmVSWATSB6Aror3bxyDiQ0CMvDasETFpIUPLanMPGWB/F9pbfJ kNZp+wfPrkudKYm4orNCNF0TB3ejuZMR+uSsSxI9Oz2h0zp3ZYaDeJ4Cg6hOWhc8o/5D HdjZLzP0kDCykWO+EkxheJzVNqQDCdGZtAaic=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=M/zvFCfRYxqGcy7ji2aLI82TPEbM5xcbA8X4ILuDQmEURwUBWH/6eEXKWODbGDE+m4 N9w+FoVD9aX+aG8ypwkHmkljvR8XNhvZdH2x/pzm2oFDTnCh9qSZOkLm7k8kCd71bhTc NnkyDPDdFBA49LcvKhx0HcUHlM0SlsPl9W8UI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20081209161837.GB460@xxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20081209161837.GB460@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Looks good. I tested it with OS/2 and Win 98, and there's no regressions in the realmode parts of their bootup, but quite a significant speedup of the boot process in both cases.

Cheers,
Trolle

On Tue, Dec 9, 2008 at 11:18 AM, Tim Deegan <Tim.Deegan@xxxxxxxxxx> wrote:
When a VMX guest tries to enter real mode, put it in virtual 8086 mode
instead, if that's possible.  Handle all errors and corner cases by
falling back to the real-mode emulator.

This is similar to the old VMXASSIST system except it uses Xen's
x86_emulate emulator instead of having a partial emulator in the guest
firmware.  It more than doubles the speed of real-mode operation on VMX.

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>

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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>