summaryrefslogtreecommitdiffstats
path: root/target-arm/kvm_arm.h
diff options
context:
space:
mode:
authorPavel Fedin2015-09-24 02:29:37 +0200
committerPeter Maydell2015-09-24 02:29:37 +0200
commita7bf30342e6a7924132a5c70047928261d3c7e42 (patch)
tree86f63d16b3fc36654e34a71c8d8fb9eb7166bf29 /target-arm/kvm_arm.h
parentarm_kvm: Do not assume particular GIC type in kvm_arch_irqchip_create() (diff)
downloadqemu-a7bf30342e6a7924132a5c70047928261d3c7e42.tar.gz
qemu-a7bf30342e6a7924132a5c70047928261d3c7e42.tar.xz
qemu-a7bf30342e6a7924132a5c70047928261d3c7e42.zip
hw/intc: Initial implementation of vGICv3
This is the initial version of KVM-accelerated GICv3 support. State load and save are not yet supported, live migration is not possible. In order to get correct class name in a simpler way, gicv3_class_name() function is implemented, similar to gic_class_name(). Signed-off-by: Pavel Fedin <p.fedin@samsung.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Tested-by: Ashok kumar <ashoks@broadcom.com> Message-id: 69d8f01d14994d7a1a140e96aef59fd332d02293.1441784344.git.p.fedin@samsung.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/kvm_arm.h')
-rw-r--r--target-arm/kvm_arm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/target-arm/kvm_arm.h b/target-arm/kvm_arm.h
index 10ce771f65..b516041779 100644
--- a/target-arm/kvm_arm.h
+++ b/target-arm/kvm_arm.h
@@ -205,4 +205,14 @@ static inline const char *gic_class_name(void)
return kvm_irqchip_in_kernel() ? "kvm-arm-gic" : "arm_gic";
}
+/**
+ * gicv3_class_name
+ *
+ * Return name of GICv3 class to use depending on whether KVM acceleration is
+ * in use. May throw an error if the chosen implementation is not available.
+ *
+ * Returns: class name to use
+ */
+const char *gicv3_class_name(void);
+
#endif