summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerruh Yigit <ferruh.yigit@intel.com>2016-07-26 18:22:34 +0100
committerFerruh Yigit <ferruh.yigit@intel.com>2016-07-27 13:52:57 +0100
commitf3f7bacaed3973bb8ad28a19262e9cece4da8fc4 (patch)
tree5d52e2407f9c1783f0426bddaabf486006f53219
parent967ab917525f175b267e3c84c5ee7ab4d4a9fbe7 (diff)
downloadspp-f3f7bacaed3973bb8ad28a19262e9cece4da8fc4.zip
spp-f3f7bacaed3973bb8ad28a19262e9cece4da8fc4.tar.gz
spp-f3f7bacaed3973bb8ad28a19262e9cece4da8fc4.tar.xz
doc: fix net name for vhost sample qemu command
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
-rw-r--r--docs/setup_guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/setup_guide.md b/docs/setup_guide.md
index f1c22a8..d4d71a1 100644
--- a/docs/setup_guide.md
+++ b/docs/setup_guide.md
@@ -50,7 +50,7 @@ Two types of VM interfaces supported:
-----------------
- spp should do a "sec x:add vhost y" before starting the VM. x: vnf number, y: vhost port id.
- Needs vhost argument for qemu:
- sudo ./x86_64-softmmu/qemu-system-x86_64 -cpu host -enable-kvm -object memory-backend-file,id=mem,size=2048M,mem-path=/dev/hugepages,share=on -numa node,memdev=mem -mem-prealloc -hda /home/dpdk/debian_wheezy_amd64_standard.qcow2 -m 2048 -smp cores=4,threads=1,sockets=1 -device e1000,netdev=net0,mac=DE:AD:BE:EF:00:01 -netdev tap,id=net0 -chardev socket,id=chr0,path=/tmp/sock0 -netdev vhost-user,id=net0,chardev=chr0,vhostforce -device virtio-net-pci,netdev=net0 -nographic -vnc :2
+ sudo ./x86_64-softmmu/qemu-system-x86_64 -cpu host -enable-kvm -object memory-backend-file,id=mem,size=2048M,mem-path=/dev/hugepages,share=on -numa node,memdev=mem -mem-prealloc -hda /home/dpdk/debian_wheezy_amd64_standard.qcow2 -m 2048 -smp cores=4,threads=1,sockets=1 -device e1000,netdev=net0,mac=DE:AD:BE:EF:00:01 -netdev tap,id=net0 -chardev socket,id=chr0,path=/tmp/sock0 -netdev vhost-user,id=net1,chardev=chr0,vhostforce -device virtio-net-pci,netdev=net1 -nographic -vnc :2
Start spp_vm (Inside the VM)