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] guest state on realmode emulation failure

To: Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] guest state on realmode emulation failure
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 17 Nov 2008 15:58:31 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 17 Nov 2008 07:59:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4921A204.76E4.0078.0@xxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclIzVZKlJbzFLTAEd24fAAX8io7RQ==
Thread-topic: [Xen-devel] guest state on realmode emulation failure
User-agent: Microsoft-Entourage/11.4.0.080122
On 17/11/08 15:55, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

>>> As a secondary thing, I can't really see how emulation of a real-mode far
>>> return could ever fail with the register state given.
>> 
>> Have you tested with xen-unstable changeset 18766?
> 
> Not yet, but shouldn't that affect things only when 'mis-'using real mode
> (e.g. by leaving a 32-bit default operand size set)?

No, realmode_deliver_exception() was testing a potentially uninitialised
field. It's a nasty little bug that thus occasionally, whether real mode is
abused or not, causes you to write through ESP rather than SP.

 -- Keir



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

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