[Qemu-devel] [PATCH 1/4] target-moxie: Fix VMState registration

2013-04-12 Thread Stefan Hajnoczi
From: Peter Maydell 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 Reviewed-by: Andreas F

[Qemu-devel] [PATCH 1/4] target-moxie: Fix VMState registration

2013-04-12 Thread Stefan Hajnoczi
From: Peter Maydell 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 Reviewed-by: Andreas F