On Tue, 15 Sep 2020 15:14:40 -0400
Matthew Rosato wrote:
> Rather than duplicating the same loop in multiple locations,
> create a static function to do the work.
>
> Signed-off-by: Matthew Rosato
> ---
> hw/vfio/common.c | 21 +
> 1 file changed, 13 insertions(+), 8 deleti
On 9/15/20 9:14 PM, Matthew Rosato wrote:
> Rather than duplicating the same loop in multiple locations,
> create a static function to do the work.
>
> Signed-off-by: Matthew Rosato
Reviewed-by: Philippe Mathieu-Daudé
> ---
> hw/vfio/common.c | 21 +
> 1 file changed, 13 i
Rather than duplicating the same loop in multiple locations,
create a static function to do the work.
Signed-off-by: Matthew Rosato
---
hw/vfio/common.c | 21 +
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/hw/vfio/common.c b/hw/vfio/common.c
index 3335714..e