Nicholas Piggin <npig...@gmail.com> writes: > The L0 is storing HFSCR requested by the L1 for the L2 in struct > kvm_nested_guest when the L1 requests a vCPU enter L2. kvm_nested_guest > is not a per-vCPU structure. Hilarity ensues. > > Fix it by moving the nested hfscr into the vCPU structure together with > the other per-vCPU nested fields. > > Fixes: 8b210a880b35 ("KVM: PPC: Book3S HV Nested: Make nested HFSCR state > accessible") > Signed-off-by: Nicholas Piggin <npig...@gmail.com>
Reviewed-by: Fabiano Rosas <faro...@linux.ibm.com>