hw/arm/virt-acpi-build: use SMC if booting in EL2
commit79e993a0a804783f6196eaea9eab28ea8440528b
authorAndrew Jones <drjones@redhat.com>
Fri, 20 Jan 2017 11:15:10 +0000 (20 11:15 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Jan 2017 11:15:10 +0000 (20 11:15 +0000)
tree82d5e7a5c19280abc28632310b8e0bb91b1eb1d8
parent2013c5665cf001f4929e791c9f2262fdb508cf60
hw/arm/virt-acpi-build: use SMC if booting in EL2

Signed-off-by: Andrew Jones <drjones@redhat.com>
Acked-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1483977924-14522-16-git-send-email-peter.maydell@linaro.org
[PMM: look at vms->psci_conduit rather than vms->virt
 to decide whether to use HVC or SMC, and report no
 PSCI support at all for the 'PSCI disabled' case]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt-acpi-build.c