diff options
| author | Thomas Huth <thuth@redhat.com> | 2021-04-16 14:52:56 +0200 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2021-07-19 10:08:45 +0200 |
| commit | 9405d87be25db6dff4d7b5ab48a81bbf6d083e47 (patch) | |
| tree | c94429d30a760cfa44e04aad3c263e4a6f79bbbc /hw/net/net_tx_pkt.c | |
| parent | 283f0a05e24a5e5fab78305f783f06215390d620 (diff) | |
| download | focaccia-qemu-9405d87be25db6dff4d7b5ab48a81bbf6d083e47.tar.gz focaccia-qemu-9405d87be25db6dff4d7b5ab48a81bbf6d083e47.zip | |
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>
Diffstat (limited to 'hw/net/net_tx_pkt.c')
0 files changed, 0 insertions, 0 deletions