diff options
| author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-05-17 12:51:28 +0200 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2021-05-26 15:33:59 -0700 |
| commit | 4336073b9b13943e050edfe9aebb99974c3b6ee1 (patch) | |
| tree | f4a2f44855ad29dad392f2013dac2f3cadd41a71 /include/hw/core/sysemu-cpu-ops.h | |
| parent | 65c57115dfeef8d344052a0e2b9d156b652be478 (diff) | |
| download | focaccia-qemu-4336073b9b13943e050edfe9aebb99974c3b6ee1.tar.gz focaccia-qemu-4336073b9b13943e050edfe9aebb99974c3b6ee1.zip | |
cpu: Assert DeviceClass::vmsd is NULL on user emulation
Migration is specific to system emulation. Restrict current DeviceClass::vmsd to sysemu using #ifdef'ry, and assert in cpu_exec_realizefn() that dc->vmsd not set under user emulation. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210517105140.1062037-12-f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/hw/core/sysemu-cpu-ops.h')
0 files changed, 0 insertions, 0 deletions