From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] x86: correctly initialize the CS base on reset Date: Wed, 20 Mar 2013 17:35:34 -0300 Message-ID: <20130320203534.GA18530@amt.cnet> References: <1363707026-19351-1-git-send-email-pbonzini@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org To: Paolo Bonzini Return-path: Content-Disposition: inline In-Reply-To: <1363707026-19351-1-git-send-email-pbonzini@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Tue, Mar 19, 2013 at 04:30:26PM +0100, Paolo Bonzini wrote: > The CS base was initialized to 0 on VMX (wrong, but usually overridden > by userspace before starting) or 0xf0000 on SVM. The correct value is > 0xffff0000, and VMX is able to emulate it now, so use it. > > Signed-off-by: Paolo Bonzini > --- > arch/x86/kvm/svm.c | 8 +------- > arch/x86/kvm/vmx.c | 1 + > 2 files changed, 2 insertions(+), 7 deletions(-) Applied, thanks.