summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMingwei Zhang <mizhang@google.com>2023-07-28 17:47:21 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2023-08-31 13:48:49 -0400
commit069f30c619792d5202d72fecd842cacbee260561 (patch)
treee7d135e4f15c126a2e8663351b07ccea9be5030d /samples
parent3328dfe0eac38df388a0cded8e3f3cd307ca0be3 (diff)
KVM: x86/mmu: Plumb "struct kvm" all the way to pte_list_remove()
Plumb "struct kvm" all the way to pte_list_remove() to allow the usage of KVM_BUG() and/or KVM_BUG_ON(). This will allow killing only the offending VM instead of doing BUG() if the kernel is built with CONFIG_BUG_ON_DATA_CORRUPTION=n, i.e. does NOT want to BUG() if KVM's data structures (rmaps) appear to be corrupted. Signed-off-by: Mingwei Zhang <mizhang@google.com> [sean: tweak changelog] Link: https://lore.kernel.org/r/20230729004722.1056172-12-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions