Re: [RFC PATCH v2 03/30] target/loongarch: Add basic vmstate description of CPU.

2021-11-11 Thread Richard Henderson
On 11/11/21 2:35 AM, Xiaojuan Yang wrote: +++ b/target/loongarch/cpu.c @@ -12,6 +12,7 @@ #include "sysemu/qtest.h" #include "exec/exec-all.h" #include "qapi/qapi-commands-machine-target.h" +#include "migration/vmstate.h" You don't need this include. Otherwise, Reviewed-by: Richard

[RFC PATCH v2 03/30] target/loongarch: Add basic vmstate description of CPU.

2021-11-10 Thread Xiaojuan Yang
This patch introduces vmstate_loongarch_cpu Signed-off-by: Xiaojuan Yang Signed-off-by: Song Gao --- target/loongarch/cpu.c | 4 + target/loongarch/internals.h | 4 + target/loongarch/machine.c | 154 +++ target/loongarch/meson.build | 6 ++ 4