Kernel KVM virtualization development
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix MSR_IA32_PERF_STATUS
@ 2010-09-01  7:34 Avi Kivity
  2010-09-01  7:34 ` [PATCH 1/2] KVM: Don't save/restore MSR_IA32_PERF_STATUS Avi Kivity
  2010-09-01  7:34 ` [PATCH 2/2] KVM: Fix bogus value returned for MSR_IA32_PERF_STATUS Avi Kivity
  0 siblings, 2 replies; 6+ messages in thread
From: Avi Kivity @ 2010-09-01  7:34 UTC (permalink / raw)
  To: Marcelo Tosatti, kvm, Alexander Graf

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(-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-09-01  8:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-01  7:34 [PATCH 0/2] Fix MSR_IA32_PERF_STATUS Avi Kivity
2010-09-01  7:34 ` [PATCH 1/2] KVM: Don't save/restore MSR_IA32_PERF_STATUS Avi Kivity
2010-09-01  7:34 ` [PATCH 2/2] KVM: Fix bogus value returned for MSR_IA32_PERF_STATUS Avi Kivity
2010-09-01  8:49   ` Alexander Graf
2010-09-01  8:55     ` Avi Kivity
2010-09-01  8:56       ` Alexander Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox