mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
net: Remove the deprecated "vlan" parameter
It's been marked as deprecated since QEMU v2.9.0, so that should have been enough time for everybody to either just drop unnecessary "vlan=0" parameters, to switch to the modern -device + -netdev syntax for connecting guest NICs with host network backends, or to switch to the "hubport" netdev in case hubs are really wanted instead. Buglink: https://bugs.launchpad.net/qemu/+bug/658904 Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
9d94619189
commit
af1a5c3eb4
8 changed files with 22 additions and 130 deletions
|
@ -209,7 +209,7 @@
|
|||
##
|
||||
# @NetdevTapOptions:
|
||||
#
|
||||
# Connect the host TAP network interface name to the VLAN.
|
||||
# Used to configure a host TAP network interface backend.
|
||||
#
|
||||
# @ifname: interface name
|
||||
#
|
||||
|
@ -267,8 +267,8 @@
|
|||
##
|
||||
# @NetdevSocketOptions:
|
||||
#
|
||||
# Connect the VLAN to a remote VLAN in another QEMU virtual machine using a TCP
|
||||
# socket connection.
|
||||
# Socket netdevs are used to establish a network connection to another
|
||||
# QEMU virtual machine via a TCP socket.
|
||||
#
|
||||
# @fd: file descriptor of an already opened socket
|
||||
#
|
||||
|
@ -296,7 +296,7 @@
|
|||
##
|
||||
# @NetdevL2TPv3Options:
|
||||
#
|
||||
# Connect the VLAN to Ethernet over L2TPv3 Static tunnel
|
||||
# Configure an Ethernet over L2TPv3 tunnel.
|
||||
#
|
||||
# @src: source address
|
||||
#
|
||||
|
@ -352,7 +352,7 @@
|
|||
##
|
||||
# @NetdevVdeOptions:
|
||||
#
|
||||
# Connect the VLAN to a vde switch running on the host.
|
||||
# Connect to a vde switch running on the host.
|
||||
#
|
||||
# @sock: socket path
|
||||
#
|
||||
|
@ -490,8 +490,6 @@
|
|||
#
|
||||
# Captures the configuration of a network device; legacy.
|
||||
#
|
||||
# @vlan: vlan number
|
||||
#
|
||||
# @id: identifier for monitor commands
|
||||
#
|
||||
# @name: identifier for monitor commands, ignored if @id is present
|
||||
|
@ -499,10 +497,11 @@
|
|||
# @opts: device type specific properties (legacy)
|
||||
#
|
||||
# Since: 1.2
|
||||
#
|
||||
# 'vlan' - removed with 2.12
|
||||
##
|
||||
{ 'struct': 'NetLegacy',
|
||||
'data': {
|
||||
'*vlan': 'int32',
|
||||
'*id': 'str',
|
||||
'*name': 'str',
|
||||
'opts': 'NetLegacyOptions' } }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue