From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH v2] KVM: VMX: Conditionally reload debug register 6 Date: Wed, 2 Sep 2009 15:54:53 -0300 Message-ID: <20090902185453.GA4238@amt.cnet> References: <1251810385-21050-1-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, Jan Kiszka To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:50172 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752964AbZIBSzi (ORCPT ); Wed, 2 Sep 2009 14:55:38 -0400 Content-Disposition: inline In-Reply-To: <1251810385-21050-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Sep 01, 2009 at 04:06:25PM +0300, Avi Kivity wrote: > Only reload debug register 6 if we're running with the guest's > debug registers. Saves around 150 cycles from the guest lightweight > exit path. > > dr6 contains a couple of bits that are updated on #DB, so intercept > that unconditionally and update those bits then. Applied, thanks.