]> git.ipfire.org Git - thirdparty/qemu.git/commit - exec.c
memory: ref/unref memory across address_space_map/unmap
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 28 Jun 2013 15:33:29 +0000 (17:33 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Jul 2013 15:42:46 +0000 (17:42 +0200)
commitd3e71559a81ca7b6221465dd19282429101f983d
treee5234bf5244df64a87267aa23f11ac23a0cad1ba
parente3127ae0cdcde6b10a8643836f5bec197f2eff1a
memory: ref/unref memory across address_space_map/unmap

The iothread mutex might be released between map and unmap, so the
mapped region might disappear.

Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c