diff options
author | Thomas Huth <thuth@redhat.com> | 2018-03-16 10:51:31 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-26 14:37:13 +0200 |
commit | c9073238fcb647644b329705ad54734ad1f0b1a3 (patch) | |
tree | 2fffdfbc57aeae407c4fce428ddbcf7ce3a15f16 /hmp.h | |
parent | b3da551389c86ce214d5418c174134c3e1c838ab (diff) | |
download | qemu-c9073238fcb647644b329705ad54734ad1f0b1a3.zip qemu-c9073238fcb647644b329705ad54734ad1f0b1a3.tar.gz qemu-c9073238fcb647644b329705ad54734ad1f0b1a3.tar.bz2 |
hw/audio: Fix crashes when devices are used on ISA bus without DMA
The cs4231a, gus and sb16 sound cards crash QEMU when the user tries
to instantiate them on a machine with DMA-less ISA bus (for example
with "qemu-system-mips64el -M mips -device sb16"). Add proper checks
to the realize functions to avoid the crashes.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1521193892-15552-4-git-send-email-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hmp.h')
0 files changed, 0 insertions, 0 deletions