spapr/irq: Inform the user when falling back to emulated IC
authorGreg Kurz <groug@kaod.org>
Wed, 24 Jul 2019 16:57:14 +0000 (18:57 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sun, 28 Jul 2019 01:50:26 +0000 (11:50 +1000)
Just to give an indication to the user that the error condition is
handled and how.

Reported-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <156398743479.546975.14566809803480887488.stgit@bahia.lan>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_irq.c

index ff3df0bbd8cf026eee7b701ab8b9ed4fd057cf63..d07aed8ca9f95312b1d20d14fc9f7fc024c50da4 100644 (file)
@@ -86,6 +86,7 @@ static void spapr_irq_init_kvm(SpaprMachineState *spapr,
          * emulated mode
          */
         error_prepend(&local_err, "kernel_irqchip allowed but unavailable: ");
+        error_append_hint(&local_err, "Falling back to kernel-irqchip=off\n");
         warn_report_err(local_err);
     }
 }