]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d20233413b9211a2fb29e348b19048ac04200d0
tree7b7514f93242b5e0db8c44024dee67a93fd437de
parent955263f6f162884311541ccc7841a64fef83d64f
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