Il 31/07/2014 14:34, Peter Crosthwaite ha scritto:
> So I found the original implementation made sense to me, in that _del
> is the converse of _add and _destroy _init WRT to the MR ops.
>
> Currently
> _init = malloc array
> _add = mr_init + mr_add_subregion
> _del = mr_del_subregion + mr_destroy
On Wed, Jul 30, 2014 at 8:27 PM, Paolo Bonzini wrote:
> Of the two functions portio_list_del and portio_list_destroy,
> the latter is just freeing a memory area. However, portio_list_del
> is the logical equivalent of memory_region_del_subregion so
> destruction of memory regions does not belong
Of the two functions portio_list_del and portio_list_destroy,
the latter is just freeing a memory area. However, portio_list_del
is the logical equivalent of memory_region_del_subregion so
destruction of memory regions does not belong there.
Signed-off-by: Paolo Bonzini
---
ioport.c | 11 ++