Bug 798936

Summary: enable architectural PMU cpuid leaf for kvm
Product: Red Hat Enterprise Linux 6 Reporter: Gleb Natapov <gleb>
Component: qemu-kvmAssignee: Gleb Natapov <gleb>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: acathrow, areis, bsarathy, juzhang, knoel, michen, minovotn, mkenneth, shuang, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.244.el6 Doc Type: Bug Fix
Doc Text:
Cause Running qemu with -cpu host does not expose emulated PMU to a guest. Consequence Guest cannot use PMU counters. Fix If host kernel support PMU emulation expose cpuid.0AH leaf to a guest. Result Guest can use PMU counters to profile itself
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 11:44:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gleb Natapov 2012-03-01 10:37:41 UTC
Needed for guest PMU support.

Comment 8 Michal Novotny 2012-05-04 13:02:11 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
NEEDINFO

Comment 9 Gleb Natapov 2012-05-06 10:42:34 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1,11 @@
-NEEDINFO+Cause
+  Running qemu with -cpu host does not expose emulated PMU to a guest.  
+
+Consequence
+ Guest cannot use PMU counters.
+
+Fix
+ If host kernel support PMU emulation expose cpuid.0AH leaf to a guest.
+
+Result
+ Guest can use PMU counters to profile itself

Comment 10 errata-xmlrpc 2012-06-20 11:44:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0746.html