qemu/include/hw/isa
Thomas Huth 9405d87be2 hw/ide: Fix crash when plugging a piix3-ide device into the x-remote machine
QEMU currently crashes when the user tries to do something like:

 qemu-system-x86_64 -M x-remote -device piix3-ide

This happens because the "isabus" variable is not initialized with
the x-remote machine yet. Add a proper check for this condition
and propagate the error to the caller, so we can fail there gracefully.

Message-Id: <20210416125256.2039734-1-thuth@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2021-07-19 10:08:45 +02:00
..
apm.h Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
i8259_internal.h Use OBJECT_DECLARE_TYPE when possible 2020-09-18 14:12:32 -04:00
isa.h hw/ide: Fix crash when plugging a piix3-ide device into the x-remote machine 2021-07-19 10:08:45 +02:00
pc87312.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
superio.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
vt82c686.h vt82c686: Add emulation of VT8231 south bridge 2021-05-04 11:41:25 +10:00