summary refs log tree commit diff stats
path: root/include/hw/qdev-core.h
diff options
context:
space:
mode:
authorWei Huang <wei@redhat.com>2015-01-30 13:17:08 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2015-02-11 21:47:51 +0100
commitedecf5eced082cb45e213cb4e791b2fcf9f867c1 (patch)
tree4b29c2caf500dfc9400384280e483b5a5561ce00 /include/hw/qdev-core.h
parentbc5baffa3554e4c0d20c1dbe879aec931866bd69 (diff)
downloadfocaccia-qemu-edecf5eced082cb45e213cb4e791b2fcf9f867c1.tar.gz
focaccia-qemu-edecf5eced082cb45e213cb4e791b2fcf9f867c1.zip
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 'include/hw/qdev-core.h')
0 files changed, 0 insertions, 0 deletions