Re: [Qemu-devel] [PATCH 4/9] exec: make address_space_cache_destroy idempotent

2017-02-09 Thread Philippe Mathieu-Daudé
On 01/27/2017 12:40 PM, Paolo Bonzini wrote: Clear cache->mr so that address_space_cache_destroy does nothing the second time it is called. Reviewed-by: Stefan Hajnoczi Signed-off-by: Paolo Bonzini Reviewed-by: Philippe Mathieu-Daudé --- exec.c | 1 + 1 file changed, 1 insertion(+) diff

[Qemu-devel] [PATCH 4/9] exec: make address_space_cache_destroy idempotent

2017-01-27 Thread Paolo Bonzini
Clear cache->mr so that address_space_cache_destroy does nothing the second time it is called. Reviewed-by: Stefan Hajnoczi Signed-off-by: Paolo Bonzini --- exec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/exec.c b/exec.c index f2bed92..5de15cf 100644 --- a/exec.c +++ b/exec.c @@ -316