[PATCH 0/2] target/m68k: add vmstate structure to migrate M68kCPU

Laurent Vivier posted 2 patches 3 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201022203000.1922749-1-laurent@vivier.eu
Maintainers: Laurent Vivier <laurent@vivier.eu>
target/m68k/cpu.h        |   5 +-
target/m68k/cpu.c        | 193 ++++++++++++++++++++++++++++++++++++++-
target/m68k/fpu_helper.c |  10 +-
3 files changed, 198 insertions(+), 10 deletions(-)
[PATCH 0/2] target/m68k: add vmstate structure to migrate M68kCPU
Posted by Laurent Vivier 3 years, 6 months ago
First patch is a cleanup patch.

The second patch defines the vmstate structure for M68kCPU.

I have tested the migration with my experimental machine virt-m68k.

I didn't check if q800 machine type has all the needed vmstates
for all the hardware devices it uses.

Thanks,
Laurent

Laurent Vivier (2):
  target/m68k: remove useless qregs array
  target/m68k: Add vmstate definition for M68kCPU

 target/m68k/cpu.h        |   5 +-
 target/m68k/cpu.c        | 193 ++++++++++++++++++++++++++++++++++++++-
 target/m68k/fpu_helper.c |  10 +-
 3 files changed, 198 insertions(+), 10 deletions(-)

-- 
2.26.2


Re: [PATCH 0/2] target/m68k: add vmstate structure to migrate M68kCPU
Posted by Laurent Vivier 3 years, 4 months ago
Le 22/10/2020 à 22:29, Laurent Vivier a écrit :
> First patch is a cleanup patch.
> 
> The second patch defines the vmstate structure for M68kCPU.
> 
> I have tested the migration with my experimental machine virt-m68k.
> 
> I didn't check if q800 machine type has all the needed vmstates
> for all the hardware devices it uses.
> 
> Thanks,
> Laurent
> 
> Laurent Vivier (2):
>   target/m68k: remove useless qregs array
>   target/m68k: Add vmstate definition for M68kCPU
> 
>  target/m68k/cpu.h        |   5 +-
>  target/m68k/cpu.c        | 193 ++++++++++++++++++++++++++++++++++++++-
>  target/m68k/fpu_helper.c |  10 +-
>  3 files changed, 198 insertions(+), 10 deletions(-)
> 

Applied to my m68k-for-6.0 branch

Thanks,
Laurent