summaryrefslogtreecommitdiff
path: root/target-microblaze/cpu.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-01-20 19:03:32 +0100
committerAndreas Färber <afaerber@suse.de>2013-02-01 01:35:21 +0100
commit3ce8b2bcbff6445f84db53ef38dbc4e5dd102676 (patch)
tree21e31a1eca75a7010c3620fca3f266563ad4c508 /target-microblaze/cpu.h
parent88e28512efd8d36476e50a78acb1dca8b41a3cf1 (diff)
downloadqemu-3ce8b2bcbff6445f84db53ef38dbc4e5dd102676.tar.gz
qemu-3ce8b2bcbff6445f84db53ef38dbc4e5dd102676.tar.bz2
qemu-3ce8b2bcbff6445f84db53ef38dbc4e5dd102676.zip
target-microblaze: Mark as unmigratable
cpu_{save,load} were no-ops, so de facto it is unmigratable and no backwards compatibility to keep. Therefore mark the MicroBlazeCPU as unmigratable at device level the QOM way and suppress "cpu_common" VMState registration by dropping CPU_SAVE_VERSION. Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'target-microblaze/cpu.h')
-rw-r--r--target-microblaze/cpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
index 5621068d82..41480e71e1 100644
--- a/target-microblaze/cpu.h
+++ b/target-microblaze/cpu.h
@@ -307,8 +307,6 @@ static inline CPUMBState *cpu_init(const char *cpu_model)
#define cpu_gen_code cpu_mb_gen_code
#define cpu_signal_handler cpu_mb_signal_handler
-#define CPU_SAVE_VERSION 1
-
/* MMU modes definitions */
#define MMU_MODE0_SUFFIX _nommu
#define MMU_MODE1_SUFFIX _kernel