From 7653b933cb50bc6edf66862857e8764aac1ba3cc Mon Sep 17 00:00:00 2001 From: Mick Tarsel Date: Fri, 4 Oct 2024 11:57:01 -0700 Subject: [PATCH] Use XICS Interrupt Controller for ppc64le Using this interrupt controller will remove this warning from test output: qemu-system-ppc64: warning: kernel_irqchip allowed but unavailable: IRQ_XIVE capability must be present for KVM The previous link was 404. More info about pseries and XICS in new link. Signed-off-by: Mick Tarsel --- mantle/platform/qemu.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mantle/platform/qemu.go b/mantle/platform/qemu.go index 15ac791b45..e0070acc39 100644 --- a/mantle/platform/qemu.go +++ b/mantle/platform/qemu.go @@ -1383,8 +1383,8 @@ func baseQemuArgs(arch string, memoryMiB int) ([]string, error) { ret = []string{ "qemu-system-ppc64", // kvm-type=HV ensures we use bare metal KVM and not "user mode" - // https://qemu.readthedocs.io/en/latest/system/ppc/pseries.html#switching-between-the-kvm-pr-and-kvm-hv-kernel-module - "-machine", "pseries,kvm-type=HV," + machineArg, + // https://www.qemu.org/docs/master/system/ppc/pseries.html + "-machine", "pseries,kvm-type=HV,ic-mode=xics," + machineArg, } default: return nil, fmt.Errorf("architecture %s not supported for qemu", arch)