]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: X86: Processor States following Reset or INIT
authorWanpeng Li <wanpeng.li@hotmail.com>
Wed, 11 Oct 2017 12:10:19 +0000 (05:10 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Oct 2017 12:01:54 +0000 (14:01 +0200)
commit90751d1d97a4dd9424a45822eaa4f9f8e002ec26
treed3ca7a16f7e8e0e9e22567657580b832e90dadfa
parent3becd0a020d2a00aa6876124e70914abfeeb7553
KVM: X86: Processor States following Reset or INIT

- XCR0 is reset to 1 by RESET but not INIT
- XSS is zeroed by both RESET and INIT
- BNDCFGU, BND0-BND3, BNDCFGS, BNDSTATUS are zeroed by both RESET and INIT

This patch does this according to SDM.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Jim Mattson <jmattson@google.com>
Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c