summaryrefslogtreecommitdiffstats
path: root/hw/s390-virtio.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-10-25 12:37:57 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2012-10-29 11:18:46 -0500
commitb308c82cbda44e138ef990af64d44a5613c16092 (patch)
tree1b57ee77bf7ed2819efdde202808b55c05b12d93 /hw/s390-virtio.c
parent6b0e6468e33883c1739a7474fe6baca170eec9aa (diff)
downloadhqemu-b308c82cbda44e138ef990af64d44a5613c16092.zip
hqemu-b308c82cbda44e138ef990af64d44a5613c16092.tar.gz
pci: avoid destroying bridge address space windows in a transaction
Calling memory_region_destroy() in a transaction is illegal (and aborts), as until the transaction is committed, the region remains live. Fix by moving destruction until after the transaction commits. This requires having an extra set of regions, so the new and old regions can coexist. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/s390-virtio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud