[libvirt] [PATCH 1/5] qemu: address: Handle all the video devices within a single loop

John Ferlan jferlan at redhat.com
Mon Jul 2 18:36:02 UTC 2018



On 06/28/2018 08:14 AM, Erik Skultety wrote:
> We've been handling the primary video device separately from all the
> other ones when in fact the code to do that was the same. Therefore,
> let's handle all the devices within the existing 'for' loop.
> 
> Signed-off-by: Erik Skultety <eskultet at redhat.com>
> ---
>  src/qemu/qemu_domain_address.c | 10 ++--------
>  1 file changed, 2 insertions(+), 8 deletions(-)
> 

May be worthwhile to note that since commit id 133fb140 moved validation
of the video device type, thus now it's possible to combine the PCI
address checking into one for loop.

Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list