From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [PATCH 4/4] Fix task switching. Date: Tue, 31 Mar 2009 18:22:40 +0300 Message-ID: <20090331152240.GO25718@redhat.com> References: <49D0ED9D.9080600@web.de> <36DC3CEB93860B4099D43C4BAD63EBA2A37656@DEMUEXC005.nsn-intra.net> <36DC3CEB93860B4099D43C4BAD63EBA2A37659@DEMUEXC005.nsn-intra.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: jan.kiszka@web.de, avi@redhat.com, kvm@vger.kernel.org, "Ostler, Thomas (NSN - DE/Munich)" , bliitz@users.sourceforge.net To: "Kohl, Bernhard (NSN - DE/Munich)" Return-path: Received: from mx2.redhat.com ([66.187.237.31]:49185 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757884AbZCaPXA (ORCPT ); Tue, 31 Mar 2009 11:23:00 -0400 Content-Disposition: inline In-Reply-To: <36DC3CEB93860B4099D43C4BAD63EBA2A37659@DEMUEXC005.nsn-intra.net> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Mar 31, 2009 at 05:21:16PM +0200, Kohl, Bernhard (NSN - DE/Munich) wrote: > Bernhard Kohl wrote: > > > > Jan Kiszka wrote: > > > > > > Gleb Natapov wrote: > > > > The patch fixes two problems with task switching. > > > > 1. Back link is written to a wrong TSS. > > > > 2. Instruction emulation is not needed if the reason for > > task switch > > > > is a task gate in IDT and access to it is caused by an > > > external even. > > > > > > > > 2 is currently solved only for VMX since there is not > > > reliable way to > > > > skip an instruction in SVM. We should emulate it instead. > > > > > > Does this series fix all issues Bernhard, Thomas and Julian > > > stumbled over? > > > > > > Jan > > > > I will try this today. Thanks. > > > Yes, it works for us (Thomas + Bernhard). > Great. Thanks for testing. -- Gleb.