Home
last modified time | relevance | path

Searched hist:"484 d774c3a5cefd7991ff2bee9bd70977bcb9a67" (Results 1 – 1 of 1) sorted by relevance

/qemu/hw/intc/
H A Dspapr_xive.c484d774c3a5cefd7991ff2bee9bd70977bcb9a67 Fri Nov 20 17:46:39 UTC 2020 Greg Kurz <groug@kaod.org> spapr/xive: Turn some sanity checks into assertions

The sPAPR XIVE device is created by the machine in spapr_irq_init().
The latter overrides any value provided by the user with -global for
the "nr-irqs" and "nr-ends" properties with strictly positive values.

It seems reasonable to assume these properties should never be 0,
which wouldn't make much sense by the way.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <20201120174646.619395-2-groug@kaod.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>