From afbd03cf013e8c4bcf4c438a690ebfc3efe280e7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 8 Apr 2020 23:25:28 -0500 Subject: [PATCH] qemu-ppc64le: Switch off large decrementer capability 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 --- virtcontainers/qemu_ppc64le.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtcontainers/qemu_ppc64le.go b/virtcontainers/qemu_ppc64le.go index 6cd7eb1104..57f2024a0c 100644 --- a/virtcontainers/qemu_ppc64le.go +++ b/virtcontainers/qemu_ppc64le.go @@ -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