KVM: x86/mmu: Capture 'mmu' in a local variable when allocating roots
authorSean Christopherson <seanjc@google.com>
Fri, 5 Mar 2021 01:10:47 +0000 (17:10 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Mar 2021 08:42:15 +0000 (04:42 -0400)
commitb37233c911cbecd22a8a2a80137efe706c727d76
tree524bdffd1af79031b3c29e4bc2b7ae0664518dbb
parent04d45551a1eefbea42655da52f56e846c0af721a
KVM: x86/mmu: Capture 'mmu' in a local variable when allocating roots

Grab 'mmu' and do s/vcpu->arch.mmu/mmu to shorten line lengths and yield
smaller diffs when moving code around in future cleanup without forcing
the new code to use the same ugly pattern.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210305011101.3597423-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c