]> xenbits.xensource.com Git - qemu-xen.git/commit
ppc/spapr-caps: Disallow setting workaround for spapr-cap-ibs
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Fri, 16 Feb 2018 02:33:27 +0000 (13:33 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 16 Feb 2018 02:40:51 +0000 (13:40 +1100)
commit4f5b039d2bf9bb26b6e26a3dc65da36fe970cba9
tree86eab664a2a8069b894a7bf11928b4f8610a685f
parentb0c2d5213a14f8b9d44096ee879a5d7f10fbc505
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
h_get_cpu_characteristics.

Report an error when attempting to apply the setting with a more helpful
error message.

Reported-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_caps.c