KVM: PPC: Book3S HV P9: Move nested guest entry into its own function
authorNicholas Piggin <npiggin@gmail.com>
Tue, 23 Nov 2021 09:52:08 +0000 (19:52 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 24 Nov 2021 10:09:00 +0000 (21:09 +1100)
commit08b3f08af583c01b3cfdc15bda68063c2a401512
tree1c16c20bce4a028074d665f6f1029f4d983da40c
parentaabcaf6ae2a0912898bd243f0aec0ce6853983fc
KVM: PPC: Book3S HV P9: Move nested guest entry into its own function

Move the part of the guest entry which is specific to nested HV into its
own function. This is just refactoring.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211123095231.1036501-31-npiggin@gmail.com
arch/powerpc/kvm/book3s_hv.c