« Previous | Next » 

Revision b308c82c

IDb308c82cbda44e138ef990af64d44a5613c16092

Added by Avi Kivity over 11 years ago

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 <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences