summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorThomas Huth2018-03-16 10:51:29 +0100
committerPaolo Bonzini2018-03-26 14:37:13 +0200
commit089eac81e1d34d202471c0a023284f47f4c5f00e (patch)
tree005b5b335514a8b3ea2fa5256cf39aea562899cc /scripts
parentWHPX improve vcpu_post_run perf (diff)
downloadqemu-089eac81e1d34d202471c0a023284f47f4c5f00e.tar.gz
qemu-089eac81e1d34d202471c0a023284f47f4c5f00e.tar.xz
qemu-089eac81e1d34d202471c0a023284f47f4c5f00e.zip
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions