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: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] vmx: correct EIP value of task-state segment
From: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Date: Fri, 31 Jul 2009 18:34:40 +0900
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 31 Jul 2009 02:35:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6985D9A.110FD%keir.fraser@xxxxxxxxxxxxx>
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: <7kab2ld4yx.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx> <C6985D9A.110FD%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Keir Fraser writes:
> 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)?

Unfortunately I have no SVM machine. 
The task switch is a software interrupt "int $2" in a proprietary OS.

> 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.

Sorry, I don't have much time to test this. 
But the OS works fine with this patch. (of course, the OS is for native) 
I confirmed Windows(XP,2008Server) never use a task switch. 
So I think it's worth to get in the tree.

Thanks,
Kouya

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