diff options
author | Paolo Bonzini | 2014-06-25 20:21:37 +0200 |
---|---|---|
committer | Paolo Bonzini | 2014-07-14 16:14:15 +0200 |
commit | 7497bce6c2561f1215fe179e40837774f6243799 (patch) | |
tree | 42997828a5597dc03e15d98b5cbb74801d7b9fdb /hw/char/Makefile.objs | |
parent | virtio-scsi: fix with -M pc-i440fx-2.0 (diff) | |
download | qemu-7497bce6c2561f1215fe179e40837774f6243799.tar.gz qemu-7497bce6c2561f1215fe179e40837774f6243799.tar.xz qemu-7497bce6c2561f1215fe179e40837774f6243799.zip |
serial-pci: remove memory regions from BAR before destroying them
Otherwise, hot-unplug of pci-serial-2x trips the assertion
in memory_region_destroy:
(qemu) device_del gg
(qemu) qemu-system-x86_64: /work/armbru/tmp/qemu/memory.c:1021: memory_region_destroy: Assertion `((&mr->subregions)->tqh_first == ((void *)0))' failed.
Aborted (core dumped)
Reported-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/char/Makefile.objs')
0 files changed, 0 insertions, 0 deletions