diff options
author | Nadav Har'El <nyh@il.ibm.com> | 2011-08-02 15:54:52 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-09-25 19:18:02 +0300 |
commit | 27fc51b21cea3386a6672699631975d1097f9d39 (patch) | |
tree | d2e6f68925ccf067acdb69b6f218006344c1bf0a /net/can | |
parent | d5c1785d2f3aabe284d91bc7fc8f0abc58525dc9 (diff) | |
download | op-kernel-dev-27fc51b21cea3386a6672699631975d1097f9d39.zip op-kernel-dev-27fc51b21cea3386a6672699631975d1097f9d39.tar.gz |
KVM: nVMX: Fix nested VMX TSC emulation
This patch fixes two corner cases in nested (L2) handling of TSC-related
issues:
1. Somewhat suprisingly, according to the Intel spec, if L1 allows WRMSR to
the TSC MSR without an exit, then this should set L1's TSC value itself - not
offset by vmcs12.TSC_OFFSET (like was wrongly done in the previous code).
2. Allow L1 to disable the TSC_OFFSETING control, and then correctly ignore
the vmcs12.TSC_OFFSET.
Signed-off-by: Nadav Har'El <nyh@il.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions