diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-05-05 13:33:20 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-05-07 12:13:41 +0200 |
commit | 4d5523cfd5d298c58743eb31c003886cfc856709 (patch) | |
tree | a5b7397fd37cca52f7ef77d8e91d0e6a83188f96 /arch/x86/include/asm/math_emu.h | |
parent | KVM: X86: Declare KVM_CAP_SET_GUEST_DEBUG properly (diff) | |
download | linux-4d5523cfd5d298c58743eb31c003886cfc856709.tar.xz linux-4d5523cfd5d298c58743eb31c003886cfc856709.zip |
KVM: x86: fix DR6 delivery for various cases of #DB injection
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.
Reported-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/math_emu.h')
0 files changed, 0 insertions, 0 deletions