hw: move CPU state serialization to migration/cpu.h

Remove usage of NEED_CPU_H from hw/hw.h.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2016-03-15 12:51:18 +01:00
parent cbd62f8616
commit 1e00b8d57a
12 changed files with 58 additions and 50 deletions

View file

@ -4,6 +4,7 @@
#include "qemu/timer.h"
#include "cpu.h"
#include "migration/cpu.h"
#ifdef TARGET_SPARC64
static const VMStateDescription vmstate_cpu_timer = {