Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
qemu-ppc64le: Switch off large decrementer capability
Browse files Browse the repository at this point in the history
Large decrementer was introduced in Power 9 cpus.
Switch it off "cap-large-decr=off" as not all KVM hosts
support it

Fixes: #2599

Signed-off-by: Nitesh Konkar <[email protected]>
  • Loading branch information
Your Name committed Apr 9, 2020
1 parent 02d8ec0 commit afbd03c
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 @@ -22,7 +22,7 @@ const defaultQemuPath = "/usr/bin/qemu-system-ppc64le"

const defaultQemuMachineType = QemuPseries

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

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

Expand Down

0 comments on commit afbd03c

Please sign in to comment.