Le 10/12/2015 11:29, Markus Armbruster a écrit :
isa_bus_irqs(), isa_create() and isa_try_create() call hw_error() when
passed a null bus.  Use of hw_error() has always been questionable,
because these are used only during machine initialization, and
printing CPU registers isn't useful there.

Since the previous commit, passing a null bus is a programming error.
Drop the hw_error() and simply let it crash.

Cc: Richard Henderson <[email protected]>
Cc: "Michael S. Tsirkin" <[email protected]>
Cc: "Hervé Poussineau" <[email protected]>
Cc: Aurelien Jarno <[email protected]>
Cc: Mark Cave-Ayland <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
---

Creating a second ISA bus raises an error in isa_bus_new, so
Reviewed-by: Hervé Poussineau <[email protected]>

Reply via email to