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
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
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 files changed, 168 insertions(+)
create mode