KVM: nSVM: Do not report CLTS via SVM_EXIT_WRITE_CR0 to L1
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 29 Jun 2014 19:55:53 +0000 (21:55 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Jul 2014 16:09:55 +0000 (18:09 +0200)
commit62baf44cad3bc6b37115cc21e4228fe53d4f3474
tree7b7514f93242b5e0db8c44024dee67a93fd437de
parent9f6226a762c7ae02f6a23a3d4fc552dafa57ea23
KVM: nSVM: Do not report CLTS via SVM_EXIT_WRITE_CR0 to L1

CLTS only changes TS which is not monitored by selected CR0
interception. So skip any attempt to translate WRITE_CR0 to
CR0_SEL_WRITE for this instruction.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c