From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] KVM: nVMX: Fix switching of debug state Date: Mon, 4 Mar 2013 21:37:40 -0300 Message-ID: <20130305003740.GA19148@amt.cnet> References: <51333C98.4050806@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Gleb Natapov , kvm , "Nadav Har'El" , "Nakajima, Jun" To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:9092 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932582Ab3CEApA (ORCPT ); Mon, 4 Mar 2013 19:45:00 -0500 Content-Disposition: inline In-Reply-To: <51333C98.4050806@web.de> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Mar 03, 2013 at 01:05:44PM +0100, Jan Kiszka wrote: > From: Jan Kiszka > > First of all, do not blindly overwrite GUEST_DR7 on L2 entry. The host > may have guest debugging enabled. Then properly reset DR7 and DEBUG_CTL > on L2->L1 switch as specified in the SDM. > > Signed-off-by: Jan Kiszka > --- > arch/x86/kvm/vmx.c | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) Applied, thanks.