From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] KVM: Correct ordering of ldt reload wrt fs/gs reload Date: Wed, 20 Oct 2010 14:35:44 -0200 Message-ID: <20101020163544.GC18056@amt.cnet> References: <1287506915-4745-1-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:2612 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752141Ab0JTRL2 (ORCPT ); Wed, 20 Oct 2010 13:11:28 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9KHBSpn010066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 20 Oct 2010 13:11:28 -0400 Content-Disposition: inline In-Reply-To: <1287506915-4745-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Oct 19, 2010 at 06:48:35PM +0200, Avi Kivity wrote: > If fs or gs refer to the ldt, they must be reloaded after the ldt. Reorder > the code to that effect. > > Userspace code that uses the ldt with kvm is nonexistent, so this doesn't fix > a user-visible bug. > > Signed-off-by: Avi Kivity Applied, thanks.