diff options
author | Sean Christopherson <[email protected]> | 2023-02-16 23:41:13 +0800 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-03-16 17:19:51 -0700 |
commit | f94db0c8b9fa50296d00e236e2416aea11186e18 (patch) | |
tree | 5b09d5c5d1f54a3211a6e16f93b5d53178414383 /lib/mpi/mpi-mod.c | |
parent | e6722d9211b2aa5f195267faaa6858004b4f42a0 (diff) |
KVM: x86/mmu: Sanity check input to kvm_mmu_free_roots()
Tweak KVM_MMU_ROOTS_ALL to precisely cover all current+previous root
flags, and add a sanity in kvm_mmu_free_roots() to verify that the set
of roots to free doesn't stray outside KVM_MMU_ROOTS_ALL.
Signed-off-by: Lai Jiangshan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions