This is the third version of kvm_stat patches. Please review. NOTE: I have tested these patches on ARM64 and x86_64 machines. For PPC, the only area been affected is ioctl RESET number (patch 4). Unfortunately I don't have PPC hardware to test them.
Thanks, -Wei V3: - fix a comment in patch #4 V2: - fix a typo in VMX exit reason (pointed out by Paolo) - add ioctl RESET function to initialize counters - re-arrange the order of patches V1: - support for ARM aarch64 - update to the latest exit reasons (vmx, svm and userspace) - print errno when syscall fails Wei Huang (4): kvm_stat: Update exit reasons to the latest defintion kvm_stat: Print errno when syscall to perf_event_open() fails kvm_stat: Add aarch64 support kvm_stat: Add RESET support for perf event ioctl scripts/kvm/kvm_stat | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) -- 1.8.3.1