Skip to content

Commit

Permalink
Use XICS Interrupt Controller for ppc64le
Browse files Browse the repository at this point in the history
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 <mtarsel@gmail.com>
  • Loading branch information
mtarsel authored and ravanelli committed Oct 24, 2024
1 parent b10d8dc commit 7653b93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mantle/platform/qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7653b93

Please sign in to comment.