]> git.proxmox.com Git - mirror_qemu.git/commit
net: Mark 'vlan' parameter as deprecated
authorThomas Huth <thuth@redhat.com>
Tue, 24 Jan 2017 09:42:49 +0000 (10:42 +0100)
committerJason Wang <jasowang@redhat.com>
Wed, 15 Feb 2017 03:18:57 +0000 (11:18 +0800)
commita2dbe1356faff3cb613ae83b77c484a203be5f15
treef8a4c65f79293a55244b104d04e1aaba6708f5da
parent5dae13cd71f0755a1395b5a4cde635b8a6ee3f58
net: Mark 'vlan' parameter as deprecated

The 'vlan' parameter is a continuous source of confusion for the users,
many people mix it up with the more common term VLAN (the link layer
packet encapsulation), and even if they realize that the QEMU 'vlan' is
rather some kind of network hub emulation, there is still a high risk
that they configure their QEMU networking in a wrong way with this
parameter (e.g. by hooking NICs together, so they get a 'loopback'
between one and the other NIC).
Thus at one point in time, we should finally get rid of the 'vlan'
feature in QEMU. Let's do a first step in this direction by declaring
the 'vlan' parameter as deprecated and informing the users to use the
'netdev' parameter instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/net.c