Skip to content

Fix MSR_IA32_PERF_STATUS

Avi Kivity kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: Don't save/restore MSR_IA32_PERF_STATUSarch/x86/kvm/x86.c+1 -10 replies
2/2KVM: Fix bogus value returned for MSR_IA32_PERF_STATUSarch/x86/kvm/x86.c+1 -43 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix MSR_IA32_PERF_STATUS

MSR_IA32_PERF_STATUS is read-only, yet exposed for save/restore. This generates annoying printk()s when userspace attempts to initialize it.

The value returned is also bogus, the comments appear to refer to another msr.

Fix both issues. Alex, please test with a guest Mac.

Avi Kivity (2):
KVM: Don't save/restore MSR_IA32_PERF_STATUS
KVM: Fix bogus value returned for MSR_IA32_PERF_STATUS

 arch/x86/kvm/x86.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)