mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-06 14:37:42 -07:00
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.c | ||
| helper.h | ||
| helper_template.h | ||
| kvm.c | ||
| kvm_x86.h | ||
| machine.c | ||
| op_helper.c | ||
| ops_sse.h | ||
| ops_sse_header.h | ||
| svm.h | ||
| TODO | ||
| translate.c | ||