target-moxie: Fix VMState registration

Register the CPU VMState in the correct way, via cpu_class_set_vmsd(),
rather than doing it in two different wrong ways (once by providing
cpu_save and cpu_load functions, and once by setting the vmsd field in
DeviceClass).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
Peter Maydell 2013-04-08 16:51:46 +01:00 committed by Stefan Hajnoczi
parent 93b48c201e
commit 183543cdb6
3 changed files with 2 additions and 14 deletions

View file

@ -28,8 +28,6 @@
#define TARGET_HAS_ICE 1
#define CPU_SAVE_VERSION 1
#define ELF_MACHINE 0xFEED /* EM_MOXIE */
#define MOXIE_EX_DIV0 0