Merge pull request #322 from bpradipt/fwport-ppc64le

[Forward port] Bring ppc64le fixes to 2.0 dev tree
This commit is contained in:
Julio Montes 2020-06-22 09:14:39 -05:00 committed by GitHub
commit 5c35e3e757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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-ppc64le
QEMUCMD := qemu-system-ppc64

View File

@ -18,11 +18,11 @@ type qemuPPC64le struct {
qemuArchBase
}
const defaultQemuPath = "/usr/bin/qemu-system-ppc64le"
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