summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorPaolo Bonzini2017-01-27 16:40:15 +0100
committerMichael S. Tsirkin2017-02-17 20:52:30 +0100
commit91047df38dffa80222179f63fbb74c1dfefa25ed (patch)
treec38d5210dd4f22eeab16ed257aa06637adfb5d54 /include/exec
parentvirtio: use address_space_map/unmap to access descriptors (diff)
downloadqemu-91047df38dffa80222179f63fbb74c1dfefa25ed.tar.gz
qemu-91047df38dffa80222179f63fbb74c1dfefa25ed.tar.xz
qemu-91047df38dffa80222179f63fbb74c1dfefa25ed.zip
exec: make address_space_cache_destroy idempotent
Clear cache->mr so that address_space_cache_destroy does nothing the second time it is called. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions