linux/arch/x86/include
Sean Christopherson f94db0c8b9 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 <jiangshan.ljs@antgroup.com>
Link: https://lore.kernel.org/r/20230216154115.710033-8-jiangshanlai@gmail.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
2023-03-16 17:19:51 -07:00
..
asm KVM: x86/mmu: Sanity check input to kvm_mmu_free_roots() 2023-03-16 17:19:51 -07:00
uapi/asm KVM/riscv changes for 6.3 2023-02-15 12:33:28 -05:00