Messages in this thread | | | Date | Fri, 18 Feb 2022 18:39:45 +0000 | From | Sean Christopherson <> | Subject | Re: [PATCH v2 08/18] KVM: x86/mmu: do not pass vcpu to root freeing functions |
| |
On Thu, Feb 17, 2022, Paolo Bonzini wrote: > These functions only operate on a given MMU, of which there are two in a vCPU.
Technically 3, but one is only used to walk guest pages tables ;-)
> They also need a struct kvm in order to lock the mmu_lock, but they do not > needed anything else in the struct kvm_vcpu. So, pass the vcpu->kvm directly > to them.
Wrapping at ~75 chars is preferred for changelogs.
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> > ---
Reviewed-by: Sean Christopherson <seanjc@google.com>
| |