Re: [PATCH] KVM: x86: fix DR6 delivery for emulated hardware breakpoint
From: Peter Xu
Date: Tue May 05 2020 - 10:15:54 EST
On Tue, May 05, 2020 at 07:34:49AM -0400, Paolo Bonzini wrote:
> Go through kvm_queue_exception_p so that the payload is correctly delivered
> through the exit qualification, and add a kvm_update_dr6 call to
> kvm_deliver_exception_payload that is needed on AMD.
>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
I still think we could also change this in handle_exception_nmi() and
handle_dr() as mentioned in the other thread, but no strong opinion:
Reviewed-by: Peter Xu <peterx@xxxxxxxxxx>
Thanks,
--
Peter Xu