diff options
author | Wei Huang <wei@redhat.com> | 2015-01-30 13:17:08 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-02-11 21:47:51 +0100 |
commit | edecf5eced082cb45e213cb4e791b2fcf9f867c1 (patch) | |
tree | 4b29c2caf500dfc9400384280e483b5a5561ce00 /tests/ahci-test.c | |
parent | bc5baffa3554e4c0d20c1dbe879aec931866bd69 (diff) | |
download | qemu-edecf5eced082cb45e213cb4e791b2fcf9f867c1.zip qemu-edecf5eced082cb45e213cb4e791b2fcf9f867c1.tar.gz qemu-edecf5eced082cb45e213cb4e791b2fcf9f867c1.tar.bz2 |
kvm_stat: Add kvm_exit reasons for aarch64
This patch defines the list of kvm_exit reasons for aarch64. This list is
based on the Exception Class (EC) field of HSR register. With this patch
users can trace the execution of guest VMs better. A sample output from
command "kvm_stat -1 -t" is shown as the following:
<...>
kvm_exit(WATCHPT_HYP) 0 0
kvm_exit(WFI) 9422 9361
NOTE: This patch requires TRACE_EVENT(kvm_exit) to include exit_reason
field in TP_ARGS. A patch to upstream kernel has been submitted.
Signed-off-by: Wei Huang <wei@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/ahci-test.c')
0 files changed, 0 insertions, 0 deletions