From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 0/7] KVM: x86: Let the guest write to multiple debug registers with one vmexit Date: Sun, 09 Mar 2014 09:31:00 +0100 Message-ID: <531C26C4.2090205@redhat.com> References: <1394192571-11056-1-git-send-email-pbonzini@redhat.com> <531C2238.1060202@web.de> <531C232D.40200@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, alex.williamson@redhat.com, mtosatti@redhat.com, gleb@kernel.org To: Jan Kiszka , linux-kernel@vger.kernel.org Return-path: In-Reply-To: <531C232D.40200@web.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Il 09/03/2014 09:15, Jan Kiszka ha scritto: >> > This looks good now to me from KVM perspective. I was just wondering how >> > the case is handled that the host used debug registers on the thread the >> > runs a VCPU? What if I set a hw breakpoint on its userspace path e.g.? >> > What if I debug the kernel side with kgdb? > Ah, this part didn't change, we still switch between host and guest > state on vmentries/exits. All fine! Yes, that's why sync_dirty_debug_regs is added so early. Thanks for the review. Paolo