commit | 7c4c0f4fd5c3e82234c0ab61c7e7ffdb8f3af07b | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Mon Apr 18 11:42:53 2011 +0200 |
committer | Avi Kivity <avi@redhat.com> | Wed May 11 07:57:10 2011 -0400 |
tree | f814169205d55c01702c880e9610e5bb97c09924 | |
parent | 977b2d03e42e9ea9355d4baddb464810579719bd [diff] |
KVM: X86: Update last_guest_tsc in vcpu_put The last_guest_tsc is used in vcpu_load to adjust the tsc_offset since tsc-scaling is merged. So the last_guest_tsc needs to be updated in vcpu_put instead of the the last_host_tsc. This is fixed with this patch. Reported-by: Jan Kiszka <jan.kiszka@web.de> Tested-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>