summaryrefslogtreecommitdiff
path: root/drivers/cxl
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-02-27 18:41:45 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2024-05-07 11:59:23 -0400
commit36d4492765fe74d69f91b0f2dae7340c03665649 (patch)
tree03b23cc0e742318a75871f8c0b869b5f7d9981b3 /drivers/cxl
parentf6adeae81f3586a75d127485b0eeac66d535443b (diff)
KVM: x86/mmu: Set kvm_page_fault.hva to KVM_HVA_ERR_BAD for "no slot" faults
Explicitly set fault->hva to KVM_HVA_ERR_BAD when handling a "no slot" fault to ensure that KVM doesn't use a bogus virtual address, e.g. if there *was* a slot but it's unusable (APIC access page), or if there really was no slot, in which case fault->hva will be '0' (which is a legal address for x86). Signed-off-by: Sean Christopherson <seanjc@google.com> Reviewed-by: Kai Huang <kai.huang@intel.com> Message-ID: <20240228024147.41573-15-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/cxl')
0 files changed, 0 insertions, 0 deletions