mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-25 11:13:15 +00:00
qemu: Remove hard-coding of Qemu machine options for ppc64le
Hard-coded Qemu machine options create challenges when running Kata with latest Qemu (v5.0) or with latest processor version. This patch makes it configurable by leveraging the existing machine_accelerators option in configuration.toml. This patch fixes #2657 for ppc64le Signed-off-by: bpradipt@in.ibm.com
This commit is contained in:
parent
b4d3a0af87
commit
2d241a6acc
@ -7,6 +7,6 @@
|
||||
|
||||
MACHINETYPE := pseries
|
||||
KERNELPARAMS :=
|
||||
MACHINEACCELERATORS :=
|
||||
MACHINEACCELERATORS := "cap-cfpc=broken,cap-sbbc=broken,cap-ibs=broken,cap-large-decr=off,cap-ccf-assist=off"
|
||||
KERNELTYPE := uncompressed #This architecture must use an uncompressed kernel.
|
||||
QEMUCMD := qemu-system-ppc64
|
||||
|
@ -22,7 +22,7 @@ const defaultQemuPath = "/usr/bin/qemu-system-ppc64"
|
||||
|
||||
const defaultQemuMachineType = QemuPseries
|
||||
|
||||
const defaultQemuMachineOptions = "accel=kvm,usb=off,cap-cfpc=broken,cap-sbbc=broken,cap-ibs=broken,cap-large-decr=off"
|
||||
const defaultQemuMachineOptions = "accel=kvm,usb=off"
|
||||
|
||||
const defaultMemMaxPPC64le = 32256 // Restrict MemMax to 32Gb on PPC64le
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user