summaryrefslogtreecommitdiffstats
path: root/stubs
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-05-17 12:51:32 +0200
committerRichard Henderson2021-05-27 00:33:59 +0200
commitfeece4d07021576a6037adfd597598851cf32bf0 (patch)
tree5241ed2c3e99fcb7d0ac19f5d7e3fc45d49ee507 /stubs
parentcpu: Introduce SysemuCPUOps structure (diff)
downloadqemu-feece4d07021576a6037adfd597598851cf32bf0.tar.gz
qemu-feece4d07021576a6037adfd597598851cf32bf0.tar.xz
qemu-feece4d07021576a6037adfd597598851cf32bf0.zip
cpu: Move CPUClass::vmsd to SysemuCPUOps
Migration is specific to system emulation. - Move the CPUClass::vmsd field to SysemuCPUOps, - restrict VMSTATE_CPU() macro to sysemu, - vmstate_dummy is now unused, remove it. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210517105140.1062037-16-f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'stubs')
-rw-r--r--stubs/vmstate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stubs/vmstate.c b/stubs/vmstate.c
index cc4fe41dfc..8513d9204e 100644
--- a/stubs/vmstate.c
+++ b/stubs/vmstate.c
@@ -1,8 +1,6 @@
#include "qemu/osdep.h"
#include "migration/vmstate.h"
-const VMStateDescription vmstate_dummy = {};
-
int vmstate_register_with_alias_id(VMStateIf *obj,
uint32_t instance_id,
const VMStateDescription *vmsd,