Re: [RFC PATCH 4/4] spapr: Add KVM-on-TCG migration support

2022-02-25 Thread Nicholas Piggin
Excerpts from David Gibson's message of February 25, 2022 1:42 pm: > On Thu, Feb 24, 2022 at 03:58:17PM -0300, Fabiano Rosas wrote: >> This adds migration support for TCG pseries machines running a KVM-HV >> guest. >> @@ -734,6 +777,7 @@ const VMStateDescription vmstate_ppc_cpu = { >> &vms

Re: [RFC PATCH 4/4] spapr: Add KVM-on-TCG migration support

2022-02-24 Thread David Gibson
On Thu, Feb 24, 2022 at 03:58:17PM -0300, Fabiano Rosas wrote: > This adds migration support for TCG pseries machines running a KVM-HV > guest. > > The state that needs to be migrated is: > > - the nested PTCR value; > - the in_nested flag; > - the nested_tb_offset. > - the saved host CPUPPCState

Re: [RFC PATCH 4/4] spapr: Add KVM-on-TCG migration support

2022-02-24 Thread Nicholas Piggin
Excerpts from Fabiano Rosas's message of February 25, 2022 4:58 am: > This adds migration support for TCG pseries machines running a KVM-HV > guest. > > The state that needs to be migrated is: > > - the nested PTCR value; > - the in_nested flag; > - the nested_tb_offset. > - the saved host CPUPPC

[RFC PATCH 4/4] spapr: Add KVM-on-TCG migration support

2022-02-24 Thread Fabiano Rosas
This adds migration support for TCG pseries machines running a KVM-HV guest. The state that needs to be migrated is: - the nested PTCR value; - the in_nested flag; - the nested_tb_offset. - the saved host CPUPPCState structure; Signed-off-by: Fabiano Rosas --- (this migrates just fine with L2