From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] vmx: correct EIP value of task-state segment Date: Fri, 31 Jul 2009 08:36:42 +0100 Message-ID: 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: <7kab2ld4yx.fsf@pingu.sky.yk.fujitsu.co.jp> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kouya Shimura , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 31/07/2009 02:19, "Kouya Shimura" wrote: > Major OSes(Linux, windows, ...) don't seem to use task switching. > So this bug is missed. > > Signed-off-by: Kouya Shimura 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