On Tue, Dec 13, 2016 at 10:36:22AM +0000, Peter Maydell wrote: > If we are giving the guest a CPU with EL2, it is likely to > want to use the HVC instruction itself, for instance for > providing PSCI to inner guest VMs. This makes using HVC > as the PSCI conduit for the outer QEMU a bad idea. We will > want to use SMC instead is this case: this makes sense > because QEMU's PSCI implementation is effectively an > emulation of functionality provided by EL3 firmware. > > Add code to support selecting the PSCI conduit to use, > rather than hardcoding use of HVC. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > hw/arm/virt.c | 29 ++++++++++++++++++++++------- > 1 file changed, 22 insertions(+), 7 deletions(-) >
Reviewed-by: Andrew Jones <drjo...@redhat.com>