diff options
| author | KarimAllah Ahmed <karahmed@amazon.de> | 2018-04-14 06:10:52 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-04-16 18:50:11 +0300 |
| commit | e79f245ddec17bbd89d73cd0169dba4be46c9b55 (patch) | |
| tree | 0cf1274bfc8df0b80aeb1908a052e707fe9082c0 /lib/mpi/mpicoder.c | |
| parent | 4e1acd7b31a03f24cc6108d37d005e6b1d48c5d3 (diff) | |
| download | linux-e79f245ddec17bbd89d73cd0169dba4be46c9b55.tar.xz | |
X86/KVM: Properly update 'tsc_offset' to represent the running guest
Update 'tsc_offset' on vmentry/vmexit of L2 guests to ensure that it always
captures the TSC_OFFSET of the running guest whether it is the L1 or L2
guest.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: kvm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Jim Mattson <jmattson@google.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: KarimAllah Ahmed <karahmed@amazon.de>
[AMD changes, fix update_ia32_tsc_adjust_msr. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
