qemu/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 hw/net/can: interrupt cleanup 2018-02-13 11:44:13 +01:00
can_mioe3680_pci.c hw/net/can: MIOe-3680 PCI (dual SJA1000 channel) emulation 2018-02-13 11:44:13 +01:00
can_pcm3680_pci.c hw/net/can: PCM-3680I PCI (dual SJA1000 channel) emulation 2018-02-13 11:44:13 +01:00
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 hw/net/can: SJA1000 chip register level emulation for QEMU 2018-02-13 11:44:13 +01:00
Makefile.objs hw/net/can: MIOe-3680 PCI (dual SJA1000 channel) emulation 2018-02-13 11:44:13 +01:00