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 /scripts/device-crash-test | |
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 'scripts/device-crash-test')
-rwxr-xr-x | scripts/device-crash-test | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/device-crash-test b/scripts/device-crash-test index f04f349..c1b2c78 100755 --- a/scripts/device-crash-test +++ b/scripts/device-crash-test @@ -218,10 +218,7 @@ ERROR_WHITELIST = [ {'exitcode':-6, 'log':r"Object .* is not an instance of type e500-ccsr", 'loglevel':logging.ERROR}, {'exitcode':-6, 'log':r"vmstate_register_with_alias_id: Assertion `!se->compat \|\| se->instance_id == 0' failed", 'loglevel':logging.ERROR}, {'exitcode':-6, 'device':'isa-fdc', 'loglevel':logging.ERROR, 'expected':True}, - {'exitcode':-11, 'device':'gus', 'loglevel':logging.ERROR, 'expected':True}, {'exitcode':-11, 'device':'isa-serial', 'loglevel':logging.ERROR, 'expected':True}, - {'exitcode':-11, 'device':'sb16', 'loglevel':logging.ERROR, 'expected':True}, - {'exitcode':-11, 'device':'cs4231a', 'loglevel':logging.ERROR, 'expected':True}, {'exitcode':-11, 'machine':'isapc', 'device':'.*-iommu', 'loglevel':logging.ERROR, 'expected':True}, {'exitcode':-11, 'device':'mioe3680_pci', 'loglevel':logging.ERROR, 'expected':True}, {'exitcode':-11, 'device':'pcm3680_pci', 'loglevel':logging.ERROR, 'expected':True}, |