Browse Source
CPU_SAVE_VERSION 2 was bogus as both save and load would just throw a hw_error(). Therefore we can without problems suppress registration of "cpu_common" VMState by dropping CPU_SAVE_VERSION define and provide an unmigratable "cpu" VMStateDescription for UniCore32CPU at device level instead, where we can attach this the QOM way. Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Juan Quintela <quintela@redhat.com>stable-1.4
4 changed files with 9 additions and 26 deletions
@ -1,4 +1,4 @@ |
|||
obj-y += translate.o op_helper.o helper.o cpu.o |
|||
obj-y += ucf64_helper.o |
|||
|
|||
obj-$(CONFIG_SOFTMMU) += machine.o softmmu.o |
|||
obj-$(CONFIG_SOFTMMU) += softmmu.o |
|||
|
|||
@ -1,23 +0,0 @@ |
|||
/*
|
|||
* Generic machine functions for UniCore32 ISA |
|||
* |
|||
* Copyright (C) 2010-2012 Guan Xuetao |
|||
* |
|||
* This program is free software; you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License version 2 as |
|||
* published by the Free Software Foundation, or any later version. |
|||
* See the COPYING file in the top-level directory. |
|||
*/ |
|||
#include "hw/hw.h" |
|||
|
|||
void cpu_save(QEMUFile *f, void *opaque) |
|||
{ |
|||
hw_error("%s not supported yet.\n", __func__); |
|||
} |
|||
|
|||
int cpu_load(QEMUFile *f, void *opaque, int version_id) |
|||
{ |
|||
hw_error("%s not supported yet.\n", __func__); |
|||
|
|||
return 0; |
|||
} |
|||
Loading…
Reference in new issue