]> git.proxmox.com Git - qemu.git/commit
memory: abort if a memory region is destroyed during a transaction
authorAvi Kivity <avi@redhat.com>
Wed, 17 Oct 2012 15:14:41 +0000 (17:14 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 17 Oct 2012 15:14:41 +0000 (17:14 +0200)
commit2be0e25f4b6a4f91e39388cc365bbe53b56ab62a
tree98199f0b7ed9ee4bbe571a82daf590b5f9c3ed1f
parent2725aec70114cf1bee00443aeb47a305f9b0c665
memory: abort if a memory region is destroyed during a transaction

Destroying a memory region is illegal within a transaction, as until
the transaction is committed, the memory core may hold references to
the region.  Add an assert to check for violations of this rule.

Signed-off-by: Avi Kivity <avi@redhat.com>
memory.c