Make PC speaker emulation aware of in-kernel PIT
[qemu-kvm/fedora.git] / target-ia64 / machine.c
blobdd205c5766b44b20077f6ad461017692cd271c6c
1 #include "hw/hw.h"
2 #include "hw/boards.h"
4 #include "exec-all.h"
5 #include "qemu-kvm.h"
7 void cpu_save(QEMUFile *f, void *opaque)
9 CPUState *env = opaque;
11 if (kvm_enabled()) {
12 kvm_save_registers(env);
13 kvm_save_mpstate(env);
17 int cpu_load(QEMUFile *f, void *opaque, int version_id)
19 CPUState *env = opaque;
21 if (kvm_enabled()) {
22 kvm_load_registers(env);
23 kvm_load_mpstate(env);
25 return 0;
28 extern QEMUMachine ipf_machine;
30 static void ipf_machine_init(void)
32 qemu_register_machine(&ipf_machine);
35 machine_init(ipf_machine_init);