Re: [PATCH v3 3/8] memory: Introduce memory_region_transaction_depth_{inc|dec}()

2021-07-28 Thread David Hildenbrand
On 28.07.21 20:31, Peter Xu wrote: memory_region_transaction_{begin|commit}() could be too big when finalizing a memory region. E.g., we should never attempt to update address space topology during the finalize() of a memory region. Provide helpers for further use. Signed-off-by: Peter Xu ---

[PATCH v3 3/8] memory: Introduce memory_region_transaction_depth_{inc|dec}()

2021-07-28 Thread Peter Xu
memory_region_transaction_{begin|commit}() could be too big when finalizing a memory region. E.g., we should never attempt to update address space topology during the finalize() of a memory region. Provide helpers for further use. Signed-off-by: Peter Xu --- softmmu/memory.c | 14 -