Commit 598a790
KVM: x86: Allow HWCR.McStatusWrEn to be cleared once set
When HWCR is set to 0, store 0 in vcpu->arch.msr_hwcr.
Fixes: 191c813 ("x86/kvm: Implement HWCR support")
Signed-off-by: Jim Mattson <jmattson@google.com>
Link: https://lore.kernel.org/r/20230929230246.1954854-2-jmattson@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent 5d6d6a7 commit 598a790
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3791 | 3791 | | |
3792 | 3792 | | |
3793 | 3793 | | |
3794 | | - | |
3795 | | - | |
3796 | | - | |
| 3794 | + | |
3797 | 3795 | | |
3798 | 3796 | | |
3799 | 3797 | | |
| 3798 | + | |
3800 | 3799 | | |
3801 | 3800 | | |
3802 | 3801 | | |
| |||
0 commit comments