diff options
author | Sean Christopherson <seanjc@google.com> | 2023-02-16 23:41:13 +0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-03-16 17:19:51 -0700 |
commit | f94db0c8b9fa50296d00e236e2416aea11186e18 (patch) | |
tree | 5b09d5c5d1f54a3211a6e16f93b5d53178414383 /tools/perf/scripts/python/export-to-sqlite.py | |
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 <jiangshan.ljs@antgroup.com>
Link: https://lore.kernel.org/r/20230216154115.710033-8-jiangshanlai@gmail.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions