diff options
author | Greg Kurz | 2019-02-08 19:17:47 +0100 |
---|---|---|
committer | David Gibson | 2019-02-17 11:54:02 +0100 |
commit | 1a511340874e5a9d3b235261447d920fd8be493e (patch) | |
tree | 592029a89f9af23bcbd158473def9bdaedf66cf0 /hw/display/xenfb.c | |
parent | cuda: decrease time delay before raising VIA SR interrupt and remove fast path (diff) | |
download | qemu-1a511340874e5a9d3b235261447d920fd8be493e.tar.gz qemu-1a511340874e5a9d3b235261447d920fd8be493e.tar.xz qemu-1a511340874e5a9d3b235261447d920fd8be493e.zip |
spapr: Disallow unsupported kernel-irqchip settings
Split mode doesn't make sense on pseries, neither with XICS nor XIVE. But
passing kernel-irqchip=split silently behaves like kernel-irqchip=on.
Other architectures that support kernel-irqchip do terminate QEMU when
split mode is requested but not available though. Do the same with pseries
for consistency.
Similarly, passing kernel-irqchip=on,accel=tcg starts the machine with the
emulated interrupt controller, ie, behaves like kernel-irqchip=off. However,
when passing kernel-irqchip=on,accel=kvm, if we can't initialize the KVM
XICS for some reason, ie, xics_kvm_init() fails, then QEMU is terminated.
This is inconsistent. Terminate QEMU all the same when requesting the
in-kernel interrupt controller without KVM.
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <154964986747.291716.2679312373018476920.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/display/xenfb.c')
0 files changed, 0 insertions, 0 deletions