Re: use of PMU in guest generates messages in host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 12, 2012 at 07:02:12AM -0700, David Ahern wrote:
> 
> On 01/11/2012 11:26 PM, Gleb Natapov wrote:
> > On Wed, Jan 11, 2012 at 01:47:55PM -0700, David Ahern wrote:
> >> Using latest kernel tree (e343a895a9f342f239c5e3c5ffc6c0b1707e6244)
> >> which has KVM bits for using PMU in the guest. Host and guest are both
> >> running Fedora 16, 64-bit, with this kernel.
> >>
> >> Running this command in the guest:
> >>    perf stat -ddd -- openssl speed aes
> >>
> >> Generates this in the host:
> >> [74728.221863] kvm_set_msr_common: 2760 callbacks suppressed
> >> [74728.221950] kvm: 28217: cpu2 unhandled wrmsr: 0x1a6 data f701
> >> [74728.222115] kvm: 28217: cpu2 unhandled wrmsr: 0x1a6 data f701
> >> [74728.222858] kvm: 28217: cpu2 unhandled wrmsr: 0x1a6 data f701
> >> [74728.223018] kvm: 28217: cpu2 unhandled wrmsr: 0x1a6 data f701
> >> [74728.223851] kvm: 28217: cpu2 unhandled wrmsr: 0x1a6 data f701
> >> [74728.224009] kvm: 28217: cpu2 unhandled wrmsr: 0x1a6 data f701
> >> [74728.224843] kvm: 28217: cpu2 unhandled wrmsr: 0x1a6 data f701
> >> [74728.224997] kvm: 28217: cpu2 unhandled wrmsr: 0x1a6 data f701
> >> [74728.225842] kvm: 28217: cpu2 unhandled wrmsr: 0x1a6 data f001
> >> [74728.226010] kvm: 28217: cpu2 unhandled wrmsr: 0x1a6 data f001
> >>
> > This is MSR_OFFCORE_RSP_0 MSR which is not (yet?) supported. What is
> > your host cpu and qemu command line?
> 
> Host CPU: Intel(R) Xeon(R) CPU           E5540  @ 2.53GHz
> and '-cpu host' is used on the qemu command line.
> 
Use "-cpu host,model=29" should avid this message. We need to teach
guest to not use non architectural MSRs.

--
			Gleb.
--
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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux