[PATCH 0/6] qemu: command: Replace vlan= with netdev=

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Most VMs libvirt knows how to launch will have qemu network config like:

  -netdev $NETDEV_OPTS,id=netdev1 -device e1000,id=netdev1

However for machine types with built-in platform network devices, we
currently do:

  -net nic,model=e1000,vlan=1 -net $NETDEV_OPTS,vlan=1

However for the platform case, all qemu versions we support can do:

  -netdev $NETDEV_OPTS,id=netdev1 -net nic,model=e1000,netdev=netdev1

Which simplifies our code, and is more future proof as qemu has
deprecated the vlan= option. This series switches to the netdev=
method, and performs some cleanups in related code.

Thanks,
Cole

Cole Robinson (6):
  qemu: command: Make qemuBuildNicStr static
  qemu: command: Rename BuildNicStr to BuildLegacyNicStr
  qemu: command: remove unused LegacyNicStr arg 'prefix'
  qemu: command: replace vlan= with netdev= for legacy nic
  qemu: Remove vlan function arguments
  qemu: command: vhost: cleanup error reporting

 src/qemu/qemu_command.c                       | 99 ++++++-------------
 src/qemu/qemu_command.h                       |  8 --
 src/qemu/qemu_hotplug.c                       |  3 +-
 .../arm-vexpressa9-basic.args                 |  4 +-
 4 files changed, 33 insertions(+), 81 deletions(-)

-- 
2.17.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux