]> git.baikalelectronics.ru Git - kernel.git/commit
x86: KVM: add xsetbv to the emulator
authorVitaly Kuznetsov <vkuznets@redhat.com>
Tue, 13 Aug 2019 13:53:32 +0000 (15:53 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 Aug 2019 08:09:20 +0000 (10:09 +0200)
commitf21d8562f02c5cf9335f333624dbeae645c5d4b1
tree94f6b041e1e77e93eeda86478cc230d2db6030dc
parentc528e99639e3ae841510c32e1fcd9601ff7fa0c4
x86: KVM: add xsetbv to the emulator

To avoid hardcoding xsetbv length to '3' we need to support decoding it in
the emulator.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c
arch/x86/kvm/svm.c
arch/x86/kvm/x86.c