Re: [PATCH V2 3/3] KVM: X86: Reset DR6 only when KVM_DEBUGREG_WONT_EXIT
From: Paolo Bonzini
Date: Tue Aug 10 2021 - 06:41:11 EST
On 10/08/21 12:34, Lai Jiangshan wrote:
+ * do_debug expects dr6 to be cleared after it runs, avoid that
it sees
+ * a stale dr6 from the guest.
+ */
do_debug() is renamed. Maybe you can use "The host kernel #DB handler".
Or exc_debug.
Paolo