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] [RFC][PATCH] Emulate instructions in vm86 mode

To: Bastian Blank <bastian@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC][PATCH] Emulate instructions in vm86 mode
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 21 Sep 2006 19:44:25 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 21 Sep 2006 11:44:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060921183544.GA30742@xxxxxxxxxxxxxxxxxxxxxxx>
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: AcbdrfXTNCZPNkmhEduDvQAX8io7RQ==
Thread-topic: [Xen-devel] [RFC][PATCH] Emulate instructions in vm86 mode
User-agent: Microsoft-Entourage/11.2.5.060620


On 21/9/06 19:35, "Bastian Blank" <bastian@xxxxxxxxxxxx> wrote:

> On Sat, Sep 09, 2006 at 01:15:28AM +0100, Keir Fraser wrote:
>> That doesn't seem to make sense. It's probably worthwhile working out why
>> you are taking that 'failsafe' path through create_bounce_frame. If you run
>> a debug build of Xen, do you get lines of the form 'Pre-exception: xxxxxx ->
>> xxxxxx' in 'xm dmesg' or on the Xen emergency console?
> 
> Nope. In fact I'm unable to say why this happens. Is it possible that
> you at least merge the non-failsafe part of the patch (i.e. the if
> vm86_mode). It makes most things working.

I already applied your original patch (which adds cs<<4 to eip if in vm86
mode). It was obviously the right thing to do.

 -- Keir



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