qemu-patch-raspberry4/target-i386
Jan Kiszka f8d926e9cd kvm: x86: Save/restore KVM-specific CPU states
Save and restore all so far neglected KVM-specific CPU states. Handling
the TSC stabilizes migration in KVM mode. The interrupt_bitmap and
mp_state are currently unused, but will become relevant for in-kernel
irqchip support. By including proper saving/restoring already, we avoid
having to increment CPU_SAVE_VERSION later on once again.

v2:
 - initialize mp_state runnable (for the boot CPU)

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-22 10:50:34 -05:00
..
cpu.h kvm: x86: Save/restore KVM-specific CPU states 2009-05-22 10:50:34 -05:00
exec.h qemu: per-arch cpu_has_work (Marcelo Tosatti) 2009-04-24 18:03:20 +00:00
helper.c Include assert.h from qemu-common.h 2009-05-13 20:54:26 +01:00
helper.h TCG variable type checking. 2008-11-17 14:43:54 +00:00
helper_template.h Update FSF address in GPL/LGPL boilerplate 2009-01-04 22:05:52 +00:00
kvm.c kvm: x86: Save/restore KVM-specific CPU states 2009-05-22 10:50:34 -05:00
machine.c kvm: x86: Save/restore KVM-specific CPU states 2009-05-22 10:50:34 -05:00
op_helper.c Fix i386-linux-user build (Laurent Desnogues) 2009-04-23 13:16:56 +00:00
ops_sse.h Replace gcc variadic macro extension with C99 version 2009-05-13 17:53:17 +00:00
ops_sse_header.h Update FSF address in GPL/LGPL boilerplate 2009-01-04 22:05:52 +00:00
svm.h reworked SVM interrupt handling logic - fixed vmrun EIP saved value - reworked cr8 handling - added CPUState.hflags2 2008-06-04 17:02:19 +00:00
TODO SVM rework 2008-05-28 16:16:54 +00:00
translate.c Include assert.h from qemu-common.h 2009-05-13 20:54:26 +01:00