diff options
author | Thomas Huth <thuth@redhat.com> | 2018-01-15 08:40:17 +0100 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2018-01-29 16:05:38 +0800 |
commit | 74f78b993214c8cf02d8c431dd7eabc6c9f43997 (patch) | |
tree | fe90cc56ea831d0511daa5ab940e805e5150c487 /qemu-options.hx | |
parent | 93653066445bfab5f034225892f512af8e465dcd (diff) |
qemu-doc: Get rid of "vlan=X" example in the documentation
The vlan concept is marked as deprecated, so we should not use
this for examples in the documentation anymore.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r-- | qemu-options.hx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu-options.hx b/qemu-options.hx index 56b9a8692e..8ce427da78 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2242,8 +2242,8 @@ qemu-system-i386 linux.img -net nic -net tap #launch a QEMU instance with two NICs, each one connected #to a TAP device qemu-system-i386 linux.img \ - -net nic,vlan=0 -net tap,vlan=0,ifname=tap0 \ - -net nic,vlan=1 -net tap,vlan=1,ifname=tap1 + -netdev tap,id=nd0,ifname=tap0 -device e1000,netdev=nd0 \ + -netdev tap,id=nd1,ifname=tap1 -device rtl8139,netdev=nd1 @end example @example |