mirror of
https://github.com/qemu/qemu.git
synced 2024-12-18 17:53:40 +08:00
b8cc45d6a6
If the machine is stopped, we should not record two different tsc values upon a save operation. The same problem happens with kvmclock. But kvmclock is taking a different diretion, being now seen as a separate device. Since this is unlikely to happen with the tsc, I am taking the approach here of simply registering a handler for state change, and using a per-CPUState variable that prevents double updates for the TSC. Signed-off-by: Glauber Costa <glommer@redhat.com> CC: Jan Kiszka <jan.kiszka@web.de> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> |
||
---|---|---|
.. | ||
cpu.h | ||
cpuid.c | ||
exec.h | ||
helper_template.h | ||
helper.c | ||
helper.h | ||
kvm_x86.h | ||
kvm.c | ||
machine.c | ||
op_helper.c | ||
ops_sse_header.h | ||
ops_sse.h | ||
svm.h | ||
TODO | ||
translate.c |