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)
commit8cce12b3c82717df72afb955ce74c769b0eb2b4f
tree01d1eecd320e8bfa7db579fc788b630ffeea2bcc
parentb9a98c3437e353b269ebf3567acc5c3dc757c7a5
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