summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/vmx/nested.c
diff options
context:
space:
mode:
authorOliver Upton <oupton@google.com>2020-02-07 02:36:04 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-02-12 12:34:09 +0100
commit307f1cfa269657c63cfe2c932386fcc24684d9dd (patch)
treea4f9f25d765671602fc6c28db0333348eb47fa9c /arch/x86/kvm/vmx/nested.c
parent1f03b2bcd0d7cad4af107339cdef80ed377fe2a8 (diff)
downloadlwn-307f1cfa269657c63cfe2c932386fcc24684d9dd.tar.gz
lwn-307f1cfa269657c63cfe2c932386fcc24684d9dd.zip
KVM: x86: Mask off reserved bit from #DB exception payload
KVM defines the #DB payload as compatible with the 'pending debug exceptions' field under VMX, not DR6. Mask off bit 12 when applying the payload to DR6, as it is reserved on DR6 but not the 'pending debug exceptions' field. Fixes: f10c729ff965 ("kvm: vmx: Defer setting of DR6 until #DB delivery") Signed-off-by: Oliver Upton <oupton@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/nested.c')
0 files changed, 0 insertions, 0 deletions