diff options
author | Nadav Amit <namit@cs.technion.ac.il> | 2014-07-15 16:37:46 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-07-21 17:17:52 +0200 |
commit | 6f43ed01e87c8a8dbd8c826eaf0f714c1342c039 (patch) | |
tree | 96064816637d154889b1b4bea5e6c5dd6062c9bf /drivers/uwb/driver.c | |
parent | KVM: nVMX: clean up nested_release_vmcs12 and code around it (diff) | |
download | linux-6f43ed01e87c8a8dbd8c826eaf0f714c1342c039.tar.xz linux-6f43ed01e87c8a8dbd8c826eaf0f714c1342c039.zip |
KVM: x86: DR6/7.RTM cannot be written
Haswell and newer Intel CPUs have support for RTM, and in that case DR6.RTM is
not fixed to 1 and DR7.RTM is not fixed to zero. That is not the case in the
current KVM implementation. This bug is apparent only if the MOV-DR instruction
is emulated or the host also debugs the guest.
This patch is a partial fix which enables DR6.RTM and DR7.RTM to be cleared and
set respectively. It also sets DR6.RTM upon every debug exception. Obviously,
it is not a complete fix, as debugging of RTM is still unsupported.
Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/uwb/driver.c')
0 files changed, 0 insertions, 0 deletions