public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* PMU in KVM
@ 2013-11-26  8:02 Arthur Chunqi Li
  2013-11-26  9:08 ` Gleb Natapov
  0 siblings, 1 reply; 2+ messages in thread
From: Arthur Chunqi Li @ 2013-11-26  8:02 UTC (permalink / raw)
  To: kvm, Gleb Natapov

Hi Gleb,

I noticed that arch/x86/kvm/pmu.c is on your management and I have
some questions about PMU in KVM. Thanks ahead if you can spare time
answering these questions.

1. How could PMU cooperate with Intel VT? For example, I only find
flags in IA32_PERFEVTSELx MSRs to count in OS and USER mode (Ring 0
and other rings). What is the consequence when I open VMXON with PMU
enabled? Can I distinguish the counts in root and non-root mode? I
cannot find the related descriptions in Intel manual.

2. What is the current status of vPMU in KVM? Is it auto-enabled? And
how can I use (or enable/disable) it?

Thanks,
Arthur

-- 
Arthur Chunqi Li
Department of Computer Science
School of EECS
Peking University
Beijing, China

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

end of thread, other threads:[~2013-11-26  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26  8:02 PMU in KVM Arthur Chunqi Li
2013-11-26  9:08 ` Gleb Natapov

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