From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [RFC PATCH] emulator: Fix task switch into/out of VM86 Date: Mon, 16 Jan 2012 16:57:53 +0100 Message-ID: <20120116155753.GA21169@amd.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> <4F14443D.10306@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Gleb Natapov , To: Kevin Wolf Return-path: Received: from db3ehsobe003.messaging.microsoft.com ([213.199.154.141]:19282 "EHLO DB3EHSOBE003.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755171Ab2APP6j convert rfc822-to-8bit (ORCPT ); Mon, 16 Jan 2012 10:58:39 -0500 Content-Disposition: inline In-Reply-To: <4F14443D.10306@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Jan 16, 2012 at 04:37:33PM +0100, Kevin Wolf wrote: > Am 10.01.2012 18:51, schrieb Joerg Roedel: > >> 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 du= ring > >> intercept (short of decoding instruction that caused intercept to = see 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 = you > > know if I find out something. >=20 > J=F6rg, any news on this? Not yet. We are currently trying to figure out which priviledge checks the software has to do and which ones are done by the hardware before a task-switch intercept is thrown. Joerg --=20 AMD Operating System Research Center Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach General Managers: Alberto Bozzo Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr.= 43632