summaryrefslogtreecommitdiffstats
path: root/include/hw/arm
diff options
context:
space:
mode:
authorEdgar E. Iglesias2016-06-06 17:59:29 +0200
committerPeter Maydell2016-06-06 17:59:29 +0200
commit37d42473d173367969ec915be1e40e3d658b8e3b (patch)
tree6ca1b26ba9abde8bbba904c32993dcfca9cbdbbb /include/hw/arm
parenthw/arm/virt: Reject gic-version=host for non-KVM (diff)
downloadqemu-37d42473d173367969ec915be1e40e3d658b8e3b.tar.gz
qemu-37d42473d173367969ec915be1e40e3d658b8e3b.tar.xz
qemu-37d42473d173367969ec915be1e40e3d658b8e3b.zip
xlnx-zynqmp: Add a secure prop to en/disable ARM Security Extensions
Add a secure prop to en/disable ARM Security Extensions. This is particularly useful for KVM runs. Default to disabled to match the behavior of KVM. This changes the default setup from having the ARM Security Extensions to not longer having them. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Message-id: 1464173555-12800-2-git-send-email-edgar.iglesias@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/arm')
-rw-r--r--include/hw/arm/xlnx-zynqmp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/arm/xlnx-zynqmp.h b/include/hw/arm/xlnx-zynqmp.h
index 2332596b40..38d4c8cf42 100644
--- a/include/hw/arm/xlnx-zynqmp.h
+++ b/include/hw/arm/xlnx-zynqmp.h
@@ -84,6 +84,9 @@ typedef struct XlnxZynqMPState {
char *boot_cpu;
ARMCPU *boot_cpu_ptr;
+
+ /* Has the ARM Security extensions? */
+ bool secure;
} XlnxZynqMPState;
#define XLNX_ZYNQMP_H