Thomas Huth 089eac81e1 hw/net/can: Fix segfaults when using the devices without bus
The CAN devices can currently be used to crash QEMU, e.g.:

$ x86_64-softmmu/qemu-system-x86_64 -device kvaser_pci
Segmentation fault (core dumped)

So we've got to add a proper check here that the corresponding
bus is available.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1521193892-15552-2-git-send-email-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-03-26 14:37:13 +02:00
..
2018-03-01 11:05:45 +00:00
2018-03-02 13:45:50 -06:00
2018-03-23 18:38:55 +03:00
2018-03-07 08:30:28 +13:00
2018-03-23 18:26:45 +00:00
2018-03-02 13:45:50 -06:00
2018-03-20 16:40:37 +02:00
2018-03-02 13:45:50 -06:00