memory: remove assertion on memory_region_destroy
commitb476c99d01519277e3494a10dc0329d07157ae02
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 2 Jul 2013 14:51:15 +0000 (2 16:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Feb 2015 15:55:10 +0000 (2 16:55 +0100)
treeb4ee6cc166ae5231acf5a979288e11191f82888d
parent26387f86c9d6ac3a7a93b76108c502646afb6c25
memory: remove assertion on memory_region_destroy

Now that memory_region_destroy can be called from an RCU callback,
checking the BQL-protected global memory_region_transaction_depth
does not make much sense.

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