diff options
author | Greg Kurz | 2020-07-16 19:11:21 +0200 |
---|---|---|
committer | David Gibson | 2020-08-12 05:16:27 +0200 |
commit | 19d55e2031f2473a65ffc11aff5b1059e7c4173b (patch) | |
tree | d99714e57f93c23a6f3c0a91b9fe3ba3346768db /hw/intc/imx_gpcv2.c | |
parent | spapr: Use error_append_hint() in spapr_caps.c (diff) | |
download | qemu-19d55e2031f2473a65ffc11aff5b1059e7c4173b.tar.gz qemu-19d55e2031f2473a65ffc11aff5b1059e7c4173b.tar.xz qemu-19d55e2031f2473a65ffc11aff5b1059e7c4173b.zip |
spapr: Forbid nested KVM-HV in pre-power9 compat mode
Nested KVM HV only works if the kernel is using the radix MMU mode, ie.
the CPU is POWER9 and it is not running in some pre-power9 compat mode.
Otherwise, the KVM HV module fails to load in the guest with -ENODEV.
It might be painful for a user to discover this late that nested cannot
work with their setup. Erroring out at machine init instead seems to be
the best we can do.
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Message-Id: <159491948127.188975.9621435875869177751.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/intc/imx_gpcv2.c')
0 files changed, 0 insertions, 0 deletions