]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nSVM: set fixed bits by hand
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 Nov 2020 17:46:36 +0000 (12:46 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 Nov 2020 17:46:36 +0000 (12:46 -0500)
commitb58988ed2f5ac404e85d8d000e9aac306202e1f5
tree01d1eecd320e8bfa7db579fc788b630ffeea2bcc
parente460df71647fac911ab4e8d7308f808a17668048
KVM: nSVM: set fixed bits by hand

SVM generally ignores fixed-1 bits.  Set them manually so that we
do not end up by mistake without those bits set in struct kvm_vcpu;
it is part of userspace API that KVM always returns value with the
bits set.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c