Commit 99634e3e authored by Paolo Bonzini's avatar Paolo Bonzini

KVM: x86: list MSR_IA32_UCODE_REV as an emulated MSR

Even if it's read-only, it can still be written to by userspace.  Let
them know by adding it to KVM_GET_MSR_INDEX_LIST.
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 5fcf3a55
...@@ -1228,6 +1228,7 @@ static const u32 emulated_msrs_all[] = { ...@@ -1228,6 +1228,7 @@ static const u32 emulated_msrs_all[] = {
MSR_MISC_FEATURES_ENABLES, MSR_MISC_FEATURES_ENABLES,
MSR_AMD64_VIRT_SPEC_CTRL, MSR_AMD64_VIRT_SPEC_CTRL,
MSR_IA32_POWER_CTL, MSR_IA32_POWER_CTL,
MSR_IA32_UCODE_REV,
/* /*
* The following list leaves out MSRs whose values are determined * The following list leaves out MSRs whose values are determined
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment