diff options
author | Avi Kivity <avi@redhat.com> | 2012-10-25 12:37:57 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-10-29 11:18:46 -0500 |
commit | b308c82cbda44e138ef990af64d44a5613c16092 (patch) | |
tree | 1b57ee77bf7ed2819efdde202808b55c05b12d93 /migration-exec.c | |
parent | 6b0e6468e33883c1739a7474fe6baca170eec9aa (diff) |
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 'migration-exec.c')
0 files changed, 0 insertions, 0 deletions