Re: [PATCH 13/15] memory: allow creating MemoryRegions before accelerators

2020-12-07 Thread Igor Mammedov
On Wed, 2 Dec 2020 03:18:52 -0500 Paolo Bonzini wrote: > Compute the DIRTY_MEMORY_CODE bit in memory_region_get_dirty_log_mask > instead of memory_region_init_*. This makes it possible to allocate > memory backend objects at any time. Reviewed-by: Igor Mammedov > Signed-off-by: Paolo

Re: [PATCH 13/15] memory: allow creating MemoryRegions before accelerators

2020-12-07 Thread Igor Mammedov
On Wed, 2 Dec 2020 03:18:52 -0500 Paolo Bonzini wrote: > Compute the DIRTY_MEMORY_CODE bit in memory_region_get_dirty_log_mask > instead of memory_region_init_*. This makes it possible to allocate > memory backend objects at any time. > > Signed-off-by: Paolo Bonzini > --- >

Re: [PATCH 13/15] memory: allow creating MemoryRegions before accelerators

2020-12-07 Thread Paolo Bonzini
On 07/12/20 17:38, Igor Mammedov wrote: On Wed, 2 Dec 2020 03:18:52 -0500 Paolo Bonzini wrote: Compute the DIRTY_MEMORY_CODE bit in memory_region_get_dirty_log_mask instead of memory_region_init_*. This makes it possible to allocate memory backend objects at any time. Signed-off-by: Paolo

[PATCH 13/15] memory: allow creating MemoryRegions before accelerators

2020-12-02 Thread Paolo Bonzini
Compute the DIRTY_MEMORY_CODE bit in memory_region_get_dirty_log_mask instead of memory_region_init_*. This makes it possible to allocate memory backend objects at any time. Signed-off-by: Paolo Bonzini --- softmmu/memory.c | 12 ++-- softmmu/vl.c | 6 +- 2 files changed, 7