On 06/14/2011 11:24 AM, Jan Kiszka wrote: > On 2011-06-14 19:15, David Ahern wrote: >> On 06/14/2011 02:36 AM, Avi Kivity wrote: >>> On 06/13/2011 10:55 PM, David Ahern wrote: >>>> On 06/13/2011 07:34 AM, Avi Kivity wrote: >>>>> This patchset exposes an emulated version 1 architectural performance >>>>> monitoring unit to KVM guests. The PMU is emulated using perf_events, >>>>> so the host kernel can multiplex host-wide, host-user, and the >>>>> guest on available resources. >>>> >>>> Any particular magic needed to try this patchset? >>>> >>> >>> You'll need the attached patch, '-cpu host' (or '-cpu host,model=0' >>> sometimes), and, as patch 2 is a guest bug fix, you'll need to run the >>> patched kernel in the guest as well. >>> >> >> qemu-kvm is not cooperating. git repo as of 05f1737582 with your patch >> is aborting: >> >> Welcome to Fedora >> Starting udev: [ 4.031626] udev[409]: starting version 161 >> [ 4.831159] piix4_smbus 0000:00:01.3: SMBus Host Controller at >> 0xb100, revision 0 >> qemu-kvm: /exports/daahern/qemu-kvm.git/hw/msix.c:616: >> msix_unset_mask_notifier: Assertion `dev->msix_mask_notifier' failed. > > Use the qemu-kvm next branch. It has the fix you need. Indeed it does. Thanks. Avi: still no luck: [ 0.047996] Performance Events: unsupported p6 CPU model 0 no PMU driver, software events only. qemu-kvm next branch, ce5f0a588b740e8f28f46a6009e12cfa72edc51f with your perfmon cpuid change. Host and guest are both running your kvm next branch with pmu patch series. David > > Jan > -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html