projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fcf3a5
)
KVM: x86: list MSR_IA32_UCODE_REV as an emulated MSR
author
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 20 Jan 2020 13:22:55 +0000
(14:22 +0100)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 23 Jan 2020 08:51:07 +0000
(09:51 +0100)
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: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/x86.c
b/arch/x86/kvm/x86.c
index 3e70af42f65b3b9dfd845ade49ac02380eabb34b..9f24f5d168545cb508f75e6aa51ab77beec12125 100644
(file)
--- a/
arch/x86/kvm/x86.c
+++ b/
arch/x86/kvm/x86.c
@@
-1228,6
+1228,7
@@
static const u32 emulated_msrs_all[] = {
MSR_MISC_FEATURES_ENABLES,
MSR_AMD64_VIRT_SPEC_CTRL,
MSR_IA32_POWER_CTL,
+ MSR_IA32_UCODE_REV,
/*
* The following list leaves out MSRs whose values are determined