Public bug reported:

== Comment: #0 - Satheesh Rajendran <> - 2018-04-04 08:34:47 
---Problem Description---
qemu gets crashed with cap-ibs="workaround"
---uname output---
4.15.0-14-generic #15-Ubuntu SMP Mon Apr 2 19:47:43 UTC 2018
Machine Type = power9 boston 2.2 (pvr 004e 1202) 
A debugger is not configured
---Steps to Reproduce---
 Boot a guest with machine capability cap-ibs=workaround, qemu-kvm crashes 
during guest booting.

#kvm -M pseries,cap-cfpc=workaround,cap-sbbc=workaround,cap-ibs=workaround 
-monitor stdio -serial /dev/pts/7 -enable-kvm -nographic -vga none 
QEMU 2.11.1 monitor - type 'help' for more information
(qemu) qemu-system-ppc64: 
h_get_cpu_characteristics: Assertion `safe_indirect_branch == SPAPR_CAP_BROKEN' 

This upstream patch will fix the issue,
Contact Information = 
Userspace tool common name: qemu-kvm                               
The userspace tool has the following bit modes: both 

Userspace rpm: qemu-kvm                               1:2.11+dfsg-

Userspace tool obtained from project website:  na 
*Additional Instructions for
-Attach ltrace and strace of userspace application.

== Comment: #3 - Satheesh Rajendran <> - 2018-04-04 08:57:22 
This commit fixes the issue:

commit 4f5b039d2bf9bb26b6e26a3dc65da36fe970cba9
Author: Suraj Jitindar Singh <>
Date:   Fri Feb 16 13:33:27 2018 +1100

    ppc/spapr-caps: Disallow setting workaround for spapr-cap-ibs
    The spapr-cap cap-ibs can only have values broken or fixed as there is
    no explicit workaround required. Currently setting the value workaround
    for this cap will hit an assert if the guest makes the hcall
    Report an error when attempting to apply the setting with a more helpful
    error message.
    Reported-by: Satheesh Rajendran <>
    Signed-off-by: Suraj Jitindar Singh <>
    Signed-off-by: David Gibson <>

** Affects: qemu (Ubuntu)
     Importance: Undecided
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New

** Tags: architecture-ppc64le bugnameltc-166424 severity-critical 

** Tags added: architecture-ppc64le bugnameltc-166424 severity-critical

** Changed in: ubuntu
     Assignee: (unassigned) => Ubuntu on IBM Power Systems Bug Triage 

** Package changed: ubuntu => qemu (Ubuntu)

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  Power9: Ubuntu18.04: qemu gets crashed with cap-ibs="workaround" (kvm)

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to