diff options
| author | Thomas Huth | 2018-03-16 10:51:31 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2018-03-26 14:37:13 +0200 |
| commit | c9073238fcb647644b329705ad54734ad1f0b1a3 (patch) | |
| tree | 2fffdfbc57aeae407c4fce428ddbcf7ce3a15f16 /scripts/switch-timer-api | |
| parent | fdc: Exit if ISA controller does not support DMA (diff) | |
| download | qemu-c9073238fcb647644b329705ad54734ad1f0b1a3.tar.gz qemu-c9073238fcb647644b329705ad54734ad1f0b1a3.tar.xz qemu-c9073238fcb647644b329705ad54734ad1f0b1a3.zip | |
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 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
