Skip to content

Commit 7653b93

Browse files
mtarselravanelli
authored andcommitted
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 <[email protected]>
1 parent b10d8dc commit 7653b93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mantle/platform/qemu.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,8 +1383,8 @@ func baseQemuArgs(arch string, memoryMiB int) ([]string, error) {
13831383
ret = []string{
13841384
"qemu-system-ppc64",
13851385
// kvm-type=HV ensures we use bare metal KVM and not "user mode"
1386-
// https://qemu.readthedocs.io/en/latest/system/ppc/pseries.html#switching-between-the-kvm-pr-and-kvm-hv-kernel-module
1387-
"-machine", "pseries,kvm-type=HV," + machineArg,
1386+
// https://www.qemu.org/docs/master/system/ppc/pseries.html
1387+
"-machine", "pseries,kvm-type=HV,ic-mode=xics," + machineArg,
13881388
}
13891389
default:
13901390
return nil, fmt.Errorf("architecture %s not supported for qemu", arch)

0 commit comments

Comments
 (0)