From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Wolf Subject: Re: [RFC PATCH] emulator: Fix task switch into/out of VM86 Date: Mon, 16 Jan 2012 16:37:33 +0100 Message-ID: <4F14443D.10306@redhat.com> References: <1326139810-5448-1-git-send-email-kwolf@redhat.com> <20120110090122.GI2167@redhat.com> <4F0C04A6.1080705@redhat.com> <4F0C201E.3040206@redhat.com> <20120110113047.GM2167@redhat.com> <20120110175159.GF7166@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Gleb Natapov , kvm@vger.kernel.org To: Joerg Roedel Return-path: Received: from mx1.redhat.com ([209.132.183.28]:54163 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754320Ab2APPeM (ORCPT ); Mon, 16 Jan 2012 10:34:12 -0500 In-Reply-To: <20120110175159.GF7166@amd.com> Sender: kvm-owner@vger.kernel.org List-ID: Am 10.01.2012 18:51, schrieb Joerg Roedel: > On Tue, Jan 10, 2012 at 01:30:47PM +0200, Gleb Natapov wrote: >> On Tue, Jan 10, 2012 at 12:25:18PM +0100, Kevin Wolf wrote: >>> Did that now, and it looks like exit_int_info is always 0 during th= e >>> task switch intercept for a task gate in the IDT. So special-casing= VM86 >>> won't help, I'm afraid. >>> >> Joerg, do you know how can we check that task switch was cause by an >> exception triggering task gate if exit_int_info is not provided duri= ng >> intercept (short of decoding instruction that caused intercept to se= e if >> it's a call to a gate, which is racy) ? >=20 > Hmm, havn't found a solution yet. But I will check further and let yo= u > know if I find out something. J=F6rg, any news on this? Kevin