]> xenbits.xensource.com Git - libvirt.git/commit
virt drivers: don't handle type=network after resolving actual network type
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 8 Aug 2018 15:27:53 +0000 (16:27 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 18 Apr 2019 12:10:06 +0000 (13:10 +0100)
commit2f5e6502e34d9ddba596fa824b2f2f3504b34a99
treefcb675c4b8da4df6316da384685300b1e71967cf
parent518026e15959ab0e19b659a9f2ff502a54946498
virt drivers: don't handle type=network after resolving actual network type

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.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/libxl/libxl_conf.c
src/lxc/lxc_driver.c
src/qemu/qemu_command.c
src/qemu/qemu_hotplug.c
src/qemu/qemu_interface.c
src/qemu/qemu_process.c