Commit ed09b50
KVM: x86: Don't load/put vCPU when unloading its MMU during teardown
Don't load (and then put) a vCPU when unloading its MMU during VM
destruction, as nothing in kvm_mmu_unload() accesses vCPU state beyond the
root page/address of each MMU, i.e. can't possible need to run with the
vCPU loaded.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-ID: <20250224235542.2562848-5-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>1 parent 982caaa commit ed09b50
1 file changed
+1
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12754 | 12754 | | |
12755 | 12755 | | |
12756 | 12756 | | |
12757 | | - | |
12758 | | - | |
12759 | | - | |
12760 | | - | |
12761 | | - | |
12762 | | - | |
12763 | | - | |
12764 | 12757 | | |
12765 | 12758 | | |
12766 | 12759 | | |
12767 | 12760 | | |
12768 | 12761 | | |
12769 | 12762 | | |
12770 | 12763 | | |
12771 | | - | |
| 12764 | + | |
12772 | 12765 | | |
12773 | 12766 | | |
12774 | 12767 | | |
| |||
0 commit comments