aboutsummaryrefslogtreecommitdiff
path: root/target-arm/kvm32.c
diff options
context:
space:
mode:
authorShannon Zhao <shannon.zhao@linaro.org>2016-06-14 15:59:12 +0100
committerPeter Maydell <peter.maydell@linaro.org>2016-06-14 15:59:12 +0100
commit01fe6b6076c5a90e1a5f100f67968fcada8daff8 (patch)
tree5c04449c6822b7bcf844d4021dd55c0dde94c74f /target-arm/kvm32.c
parent5c0a3819f009639f67ce0453dff6ec7211bfee54 (diff)
downloadqemu-01fe6b6076c5a90e1a5f100f67968fcada8daff8.zip
qemu-01fe6b6076c5a90e1a5f100f67968fcada8daff8.tar.gz
qemu-01fe6b6076c5a90e1a5f100f67968fcada8daff8.tar.bz2
hw/arm/virt: Add PMU node for virt machine
Add a virtual PMU device for virt machine while use PPI 7 for PMU overflow interrupt number. Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org> Reviewed-by: Andrew Jones <drjones@redhat.com> Message-id: 1465267577-1808-3-git-send-email-zhaoshenglong@huawei.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/kvm32.c')
-rw-r--r--target-arm/kvm32.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/target-arm/kvm32.c b/target-arm/kvm32.c
index c03e3e5..c35c676 100644
--- a/target-arm/kvm32.c
+++ b/target-arm/kvm32.c
@@ -522,3 +522,9 @@ bool kvm_arm_hw_debug_active(CPUState *cs)
{
return false;
}
+
+int kvm_arm_pmu_create(CPUState *cs, int irq)
+{
+ qemu_log_mask(LOG_UNIMP, "%s: not implemented\n", __func__);
+ return 0;
+}