Skip to content

Commit

Permalink
vc: Add some defaultQemuMachineOptions for qemu 4.0
Browse files Browse the repository at this point in the history
We need to add a few extra defaultQemuMachineOptions
for ppc64le for kata to work with  qemu 4.0 version.

Fixes: kata-containers#1771

Signed-off-by: Nitesh Konkar [email protected]
  • Loading branch information
nitkon committed Jun 6, 2019
1 parent 5d9c1a8 commit 726720d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtcontainers/qemu_ppc64le.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const defaultQemuPath = "/usr/bin/qemu-system-ppc64le"

const defaultQemuMachineType = QemuPseries

const defaultQemuMachineOptions = "accel=kvm,usb=off"
const defaultQemuMachineOptions = "accel=kvm,usb=off,cap-cfpc=broken,cap-sbbc=broken,cap-ibs=broken"

const defaultMemMaxPPC64le = 32256 // Restrict MemMax to 32Gb on PPC64le

Expand Down

0 comments on commit 726720d

Please sign in to comment.