]> git.proxmox.com Git - mirror_qemu.git/commit
exec: make address_space_cache_destroy idempotent
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 Jan 2017 15:40:15 +0000 (16:40 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 17 Feb 2017 19:52:30 +0000 (21:52 +0200)
commit91047df38dffa80222179f63fbb74c1dfefa25ed
treec38d5210dd4f22eeab16ed257aa06637adfb5d54
parent9796d0ac8fb0a8d522afd409cb25a607eae61617
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>
exec.c