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

qemu-ppc64le: Switch off cap-large-decr, Power 9 KVM does not support it always #2599

Closed
nitkon opened this issue Apr 9, 2020 · 0 comments · Fixed by #2600
Closed

qemu-ppc64le: Switch off cap-large-decr, Power 9 KVM does not support it always #2599

nitkon opened this issue Apr 9, 2020 · 0 comments · Fixed by #2600
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.

Comments

@nitkon
Copy link
Contributor

nitkon commented Apr 9, 2020

If cap-large-decr is not enabled in the KVM, qemu fails with Stderr: failed to launch qemu: exit status 1, error messages from qemu log: qemu-system-ppc64: No large decrementer support, try cap-large-decr=off. So let's turn it off so that we do not depend on the host KVM capabilities.
Reference: https://patchwork.kernel.org/patch/10831049/

Description of problem

02:56:52 Running command '/usr/local/bin/kata-runtime [kata-runtime --log=/tmp/bundle074757847/log run --bundle=/tmp/bundle074757847 --console= --pid-file=/tmp/bundle074757847/pid --detach Emc27f9iBTaiUJvLZxTY]'
02:56:53 command failed error 'exit status 1'
02:56:53 [kata-runtime --log=/tmp/bundle074757847/log run --bundle=/tmp/bundle074757847 --console= --pid-file=/tmp/bundle074757847/pid --detach Emc27f9iBTaiUJvLZxTY]
02:56:53 Timeout: 120 seconds
02:56:53 Exit Code: 1
02:56:53 Stdout:
02:56:53 Stderr: failed to launch qemu: exit status 1, error messages from qemu log: qemu-system-ppc64: No large decrementer support, try cap-large-decr=off
02:56:53

@nitkon nitkon added bug Incorrect behaviour needs-review Needs to be assessed by the team. labels Apr 9, 2020
nitkon pushed a commit to nitkon/runtime that referenced this issue Apr 9, 2020
Large decrementer was introduced in Power 9 cpus.
Switch it off "cap-large-decr=off" as not all KVM hosts
support it

Fixes: kata-containers#2599

Signed-off-by: Nitesh Konkar <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant