summaryrefslogtreecommitdiffstats
path: root/block/commit.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy2017-03-27 06:40:30 +0200
committerMichael S. Tsirkin2017-03-29 01:35:23 +0200
commitc53598ed18e40a9609573b21f2a361221ca0f806 (patch)
tree6cfa05fd7ecb135c22183d822d582e660ae6830c /block/commit.c
parentevent_notifier: prevent accidental use after close (diff)
downloadqemu-c53598ed18e40a9609573b21f2a361221ca0f806.tar.gz
qemu-c53598ed18e40a9609573b21f2a361221ca0f806.tar.xz
qemu-c53598ed18e40a9609573b21f2a361221ca0f806.zip
pci: Add missing drop of bus master AS reference
The recent introduction of a bus master container added memory_region_add_subregion() into the PCI device registering path but missed memory_region_del_subregion() in the unregistering path leaving a reference to the root memory region of the new container. This adds missing memory_region_del_subregion(). Fixes: 3716d5902d743 ("pci: introduce a bus master container") Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions