From: Kouya Shimura Subject: Re: [PATCH] vmx: correct EIP value of task-state segment Date: Fri, 31 Jul 2009 18:34:40 +0900 Message-ID: <7keirxmc0e.fsf@pingu.sky.yk.fujitsu.co.jp> References: <7kab2ld4yx.fsf@pingu.sky.yk.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org 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