Commit bf627a9
x86/kvm/mmu: check if MMU reconfiguration is needed in init_kvm_nested_mmu()
We don't use root page role for nested_mmu, however, optimizing out
re-initialization in case nothing changed is still valuable as this
is done for every nested vmentry.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>1 parent 7dcd575 commit bf627a9
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4936 | 4936 | | |
4937 | 4937 | | |
4938 | 4938 | | |
| 4939 | + | |
4939 | 4940 | | |
4940 | 4941 | | |
| 4942 | + | |
| 4943 | + | |
| 4944 | + | |
| 4945 | + | |
| 4946 | + | |
4941 | 4947 | | |
4942 | 4948 | | |
4943 | 4949 | | |
| |||
0 commit comments