On 07.12.2011, at 10:41, Aashish Mittal wrote: > Hi > I'm working on linux-3.0-rc4 kernel on booke architecture. I've to take some > exits stats for benchmarking for e.g counting the number of vm exits due to > mfmsr instruction in guests during the guest bootup process. So are the > number of counts provided by values in vcpu_stat correct for the whole > process or does it gives you the count for a limited time period or > something else ? The values are incremented throughout the system. So if you have two VMs running it will give you the sum of the two. They are also not limited in time. To read the stats out, I can recommend Avi's kvm_stat tool: http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=blob;f=scripts/kvm/kvm_stat;h=56d2bd7f2125bc897959f1f1103c8151cd98e0a8;hb=HEAD Alex -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html