summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/ioapic.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-05-04 11:28:25 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-05-08 07:43:47 -0400
commit5679b803e44ed8947e8c2a7f44cdef1d93ea24d5 (patch)
tree1cecb32b31bc5911feca9f5cef5785e7544fc31d /arch/x86/kvm/ioapic.h
parent2c19dba6803bfeb694da0b0b50e788b77a37fe75 (diff)
KVM: SVM: keep DR6 synchronized with vcpu->arch.dr6
kvm_x86_ops.set_dr6 is only ever called with vcpu->arch.dr6 as the second argument. Ensure that the VMCB value is synchronized to vcpu->arch.dr6 on #DB (both "normal" and nested) and nested vmentry, so that the current value of DR6 is always available in vcpu->arch.dr6. The get_dr6 callback can just access vcpu->arch.dr6 and becomes redundant. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/ioapic.h')
0 files changed, 0 insertions, 0 deletions