[libvirt] [PATCH v3 08/36] virt drivers: don't handle type=network after resolving actual network type

Cole Robinson crobinso at redhat.com
Fri Mar 22 01:22:20 UTC 2019


On 3/19/19 8:46 AM, Daniel P. Berrangé wrote:
> The call to resolve the actual network type will turn any NICs with
> type=network into one of the other types. Thus there should be no need
> to handle type=network in later switch() statements jumping off the
> actual type.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  src/libxl/libxl_conf.c    | 21 +++------------------
>  src/lxc/lxc_driver.c      | 15 +++++++++++----
>  src/qemu/qemu_command.c   |  8 ++++++--
>  src/qemu/qemu_hotplug.c   | 13 +++++++++++--
>  src/qemu/qemu_interface.c | 12 ++++++++++--
>  src/qemu/qemu_process.c   |  5 ++++-
>  6 files changed, 45 insertions(+), 29 deletions(-)
> 

Reviewed-by: Cole Robinson <crobinso at redhat.com>

- Cole




More information about the libvir-list mailing list