diff options
author | Thomas Huth <thuth@redhat.com> | 2018-04-30 20:02:24 +0200 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2018-05-14 15:47:14 +0800 |
commit | 442da403ead80525761898ab0d8036a9cd3c6829 (patch) | |
tree | 110c04b8598adfceb0c237ead32101ef8df7ddcb /net/tap.c | |
parent | af1a5c3eb41521b4f090ad6125cd981b72b99ab9 (diff) | |
download | qemu-442da403ead80525761898ab0d8036a9cd3c6829.zip qemu-442da403ead80525761898ab0d8036a9cd3c6829.tar.gz qemu-442da403ead80525761898ab0d8036a9cd3c6829.tar.bz2 |
net: Get rid of 'vlan' terminology and use 'hub' instead in the source files
'vlan' is very confusing since it does not mean something like IEEE
802.1Q, but rather emulated hubs, so let's switch to that terminology
instead.
Buglink: https://bugs.launchpad.net/qemu/+bug/658904
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/tap.c')
-rw-r--r-- | net/tap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -766,10 +766,10 @@ int net_init_tap(const Netdev *netdev, const char *name, queues = tap->has_queues ? tap->queues : 1; vhostfdname = tap->has_vhostfd ? tap->vhostfd : NULL; - /* QEMU vlans does not support multiqueue tap, in this case peer is set. + /* QEMU hubs do not support multiqueue tap, in this case peer is set. * For -netdev, peer is always NULL. */ if (peer && (tap->has_queues || tap->has_fds || tap->has_vhostfds)) { - error_setg(errp, "Multiqueue tap cannot be used with QEMU vlans"); + error_setg(errp, "Multiqueue tap cannot be used with hubs"); return -1; } |