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: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC][PATCH] Emulate instructions in vm86 mode
From: Bastian Blank <bastian@xxxxxxxxxxxx>
Date: Fri, 8 Sep 2006 22:58:44 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 08 Sep 2006 13:59:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060908193744.GB29097@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>
References: <20060907135951.GA9616@xxxxxxxxxxxxxxxxxxxxxxx> <C12612D6.1051%Keir.Fraser@xxxxxxxxxxxx> <20060908193744.GB29097@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
On Fri, Sep 08, 2006 at 09:37:44PM +0200, Bastian Blank wrote:
> On Thu, Sep 07, 2006 at 06:17:58PM +0100, Keir Fraser wrote:
> > The trap bounce code clears fs and gs too, just as native hardware does on
> > an exception while in vm86 mode. The real values are saved on the exception
> > stack frame (hopefully!).
> Hmm, the code write 0 for this values to the exception frame in VM86
> mode, lets check if this is the problem.

It seems that this is the problem.

The following patch always bounces traps in vm86 mode to the guest
kernel and don't longer clears the segment register values in the
exception frame.

Signed-off-by: Bastian Blank <waldi@xxxxxxxxxx>

Bastian

-- 
The sooner our happiness together begins, the longer it will last.
                -- Miramanee, "The Paradise Syndrome", stardate 4842.6

Attachment: diff
Description: Text document

Attachment: signature.asc
Description: Digital signature

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