[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 5/6] qemu-doc: Get rid of "vlan=X" example in the doc
From: |
Jason Wang |
Subject: |
[Qemu-devel] [PULL 5/6] qemu-doc: Get rid of "vlan=X" example in the documentation |
Date: |
Mon, 29 Jan 2018 16:17:04 +0800 |
From: Thomas Huth <address@hidden>
The vlan concept is marked as deprecated, so we should not use
this for examples in the documentation anymore.
Signed-off-by: Thomas Huth <address@hidden>
Signed-off-by: Jason Wang <address@hidden>
---
qemu-options.hx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index 56b9a86..8ce427d 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
--
2.7.4
- [Qemu-devel] [PULL 0/6] Net patches, Jason Wang, 2018/01/29
- [Qemu-devel] [PULL 1/6] colo: modified the payload compare function, Jason Wang, 2018/01/29
- [Qemu-devel] [PULL 2/6] colo: compare the packet based on the tcp sequence number, Jason Wang, 2018/01/29
- [Qemu-devel] [PULL 3/6] net: Allow hubports to connect to other netdevs, Jason Wang, 2018/01/29
- [Qemu-devel] [PULL 5/6] qemu-doc: Get rid of "vlan=X" example in the documentation,
Jason Wang <=
- [Qemu-devel] [PULL 4/6] net: Allow netdevs to be used with 'hostfwd_add' and 'hostfwd_remove', Jason Wang, 2018/01/29
- [Qemu-devel] [PULL 6/6] MAINTAINERS: update Dmitry Fleytman email, Jason Wang, 2018/01/29
- Re: [Qemu-devel] [PULL 0/6] Net patches, no-reply, 2018/01/29
- Re: [Qemu-devel] [PULL 0/6] Net patches, Peter Maydell, 2018/01/29