diff options
author | Sean Christopherson <seanjc@google.com> | 2021-06-09 16:42:33 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-17 13:09:54 -0400 |
commit | c906066288d0da7b8c2b5ac4d0d8e85f10f5d5b8 (patch) | |
tree | 2547ba34580f2725b1c42c50d1fed2371649808c /lib/parser.c | |
parent | e62f1aa8b9304f4608a6a1517e9041cec555c09d (diff) |
KVM: x86: Drop pointless @reset_roots from kvm_init_mmu()
Remove the @reset_roots param from kvm_init_mmu(), the one user,
kvm_mmu_reset_context() has already unloaded the MMU and thus freed and
invalidated all roots. This also happens to be why the reset_roots=true
paths doesn't leak roots; they're already invalid.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210609234235.1244004-14-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions