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] vmx: correct EIP value of task-state segment

To: Kouya Shimura <kouya@xxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] vmx: correct EIP value of task-state segment
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 31 Jul 2009 08:36:42 +0100
Cc:
Delivery-date: Fri, 31 Jul 2009 00:37:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7kab2ld4yx.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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: AcoRfPtLYP6eWChcTY2N43LVlr/vuAANKpjG
Thread-topic: [Xen-devel] [PATCH] vmx: correct EIP value of task-state segment
User-agent: Microsoft-Entourage/12.20.0.090605
On 31/07/2009 02:19, "Kouya Shimura" <kouya@xxxxxxxxxxxxxx> wrote:

> Major OSes(Linux, windows, ...) don't seem to use task switching.
> So this bug is missed.
> 
> Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>

What about SVM, and what if the reason for the task switch is a hardware
interrupt or exception (the only case we care about for Windows at least)?

The reference manuals are sketchy enough you may need to test out some task
switches on SVM and VMX hardware to make sure you make patches that really
do the right thing.

 -- Keir



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