Re: [PATCH v3 2/9] hvf: simplify data structures and codes of memory related functions

2022-03-18 Thread Peter Maydell
On Wed, 2 Mar 2022 at 13:04, Yan-Jie Wang wrote: > > * Remove mac_slot and use hvf_slot only. The function of the two structures > are similar. > > * Refactor function hvf_set_phys_mem(): > - Remove unnecessary checks because any modified memory sections >will be removed first (region_del c

[PATCH v3 2/9] hvf: simplify data structures and codes of memory related functions

2022-03-02 Thread Yan-Jie Wang
* Remove mac_slot and use hvf_slot only. The function of the two structures are similar. * Refactor function hvf_set_phys_mem(): - Remove unnecessary checks because any modified memory sections will be removed first (region_del called first) before being added. Therefore, new sections do