diff options
author | Aaron Lewis <aaronlewis@google.com> | 2019-11-07 21:14:39 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-11-15 11:44:20 +0100 |
commit | 662f1d1d19317e792ccfc53dee625c02dcefac58 (patch) | |
tree | 81e6b19586e6b13772f35d2fc98532e9d0829bee /fs/ntfs | |
parent | ef0fbcac3f2aadb10d9a6c461eabc7dd01cbed9b (diff) | |
download | linux-662f1d1d19317e792ccfc53dee625c02dcefac58.tar.bz2 |
KVM: nVMX: Add support for capturing highest observable L2 TSC
The L1 hypervisor may include the IA32_TIME_STAMP_COUNTER MSR in the
vmcs12 MSR VM-exit MSR-store area as a way of determining the highest
TSC value that might have been observed by L2 prior to VM-exit. The
current implementation does not capture a very tight bound on this
value. To tighten the bound, add the IA32_TIME_STAMP_COUNTER MSR to the
vmcs02 VM-exit MSR-store area whenever it appears in the vmcs12 VM-exit
MSR-store area. When L0 processes the vmcs12 VM-exit MSR-store area
during the emulation of an L2->L1 VM-exit, special-case the
IA32_TIME_STAMP_COUNTER MSR, using the value stored in the vmcs02
VM-exit MSR-store area to derive the value to be stored in the vmcs12
VM-exit MSR-store area.
Reviewed-by: Liran Alon <liran.alon@oracle.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'fs/ntfs')
0 files changed, 0 insertions, 0 deletions