qemu-e2k/hw/net/can
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
..
can_kvaser_pci.c
can_mioe3680_pci.c
can_pcm3680_pci.c
can_sja1000.c hw/net/can: Fix segfaults when using the devices without bus 2018-03-26 14:37:13 +02:00
can_sja1000.h
Makefile.objs