Skip to content

Commit 7e097da

Browse files
committed
Merge: KVM: SVM: Fix a regression preventing Windows guests from booting
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/125 JIRA: https://issues.redhat.com/browse/RHEL-71416 Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Approved-by: Paolo Bonzini <bonzini@gnu.org> Approved-by: Maxim Levitsky <mlevitsk@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: Jan Stancek <jstancek@redhat.com>
2 parents ec521de + 34142b8 commit 7e097da

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

arch/x86/kvm/svm/svm.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3199,15 +3199,6 @@ static int svm_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr)
31993199
if (data & ~supported_de_cfg)
32003200
return 1;
32013201

3202-
/*
3203-
* Don't let the guest change the host-programmed value. The
3204-
* MSR is very model specific, i.e. contains multiple bits that
3205-
* are completely unknown to KVM, and the one bit known to KVM
3206-
* is simply a reflection of hardware capabilities.
3207-
*/
3208-
if (!msr->host_initiated && data != svm->msr_decfg)
3209-
return 1;
3210-
32113202
svm->msr_decfg = data;
32123203
break;
32133204
}

0 commit comments

Comments
 (0)