Re: [PATCH 07/18] util: Extend iova_tree_foreach() to take data argument

2023-02-09 Thread Peter Xu
On Thu, Jan 26, 2023 at 08:49:37PM +0200, Avihai Horon wrote: > From: Joao Martins > > Extend iova_tree_foreach() to take data argument to be passed and used > by the iterator. > > While at it, fix a documentation error: > The documentation says iova_tree_foreach() returns a value even though >

[PATCH 07/18] util: Extend iova_tree_foreach() to take data argument

2023-01-26 Thread Avihai Horon
From: Joao Martins Extend iova_tree_foreach() to take data argument to be passed and used by the iterator. While at it, fix a documentation error: The documentation says iova_tree_foreach() returns a value even though it is a void function. Signed-off-by: Joao Martins --- include/qemu/iova-tr