summaryrefslogtreecommitdiff
path: root/Documentation/intro
diff options
context:
space:
mode:
authorCian Ferriter <cian.ferriter@intel.com>2021-08-27 16:15:00 +0100
committerIlya Maximets <i.maximets@ovn.org>2021-09-16 00:59:12 +0200
commit16e5b51f2d2dcc2447e8b6a06b51089d97b86511 (patch)
tree0c27ae90a00e68747500ff8103a094ab247c660d /Documentation/intro
parent0eeca50f06f1ec4c90de3d2ace128e499f62a581 (diff)
downloadopenvswitch-16e5b51f2d2dcc2447e8b6a06b51089d97b86511.tar.gz
docs: afxdp: Fix wrapping in QEMU CMDs.
Directly copying the CMD from either the .rst file or the docs on the web caused errors in the QEMU command because of how it was wrapped. Signed-off-by: Cian Ferriter <cian.ferriter@intel.com> Acked-by: Kevin Traynor <ktraynor@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'Documentation/intro')
-rw-r--r--Documentation/intro/install/afxdp.rst12
1 files changed, 4 insertions, 8 deletions
diff --git a/Documentation/intro/install/afxdp.rst b/Documentation/intro/install/afxdp.rst
index f2643e0d4..47149cc73 100644
--- a/Documentation/intro/install/afxdp.rst
+++ b/Documentation/intro/install/afxdp.rst
@@ -374,11 +374,9 @@ Start a VM with virtio and tap device::
qemu-system-x86_64 -hda ubuntu1810.qcow \
-m 4096 \
-cpu host,+x2apic -enable-kvm \
- -device virtio-net-pci,mac=00:02:00:00:00:01,netdev=net0,mq=on,\
- vectors=10,mrg_rxbuf=on,rx_queue_size=1024 \
+ -device virtio-net-pci,mac=00:02:00:00:00:01,netdev=net0,mq=on,vectors=10,mrg_rxbuf=on,rx_queue_size=1024 \
-netdev type=tap,id=net0,vhost=on,queues=8 \
- -object memory-backend-file,id=mem,size=4096M,\
- mem-path=/dev/hugepages,share=on \
+ -object memory-backend-file,id=mem,size=4096M,mem-path=/dev/hugepages,share=on \
-numa node,memdev=mem -mem-prealloc -smp 2
Create OpenFlow rules::
@@ -415,10 +413,8 @@ Start VM using vhost-user mode::
-cpu host,+x2apic -enable-kvm \
-chardev socket,id=char1,path=/usr/local/var/run/openvswitch/vhost-user-1 \
-netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce,queues=4 \
- -device virtio-net-pci,mac=00:00:00:00:00:01,\
- netdev=mynet1,mq=on,vectors=10 \
- -object memory-backend-file,id=mem,size=4096M,\
- mem-path=/dev/hugepages,share=on \
+ -device virtio-net-pci,mac=00:00:00:00:00:01,netdev=mynet1,mq=on,vectors=10 \
+ -object memory-backend-file,id=mem,size=4096M,mem-path=/dev/hugepages,share=on \
-numa node,memdev=mem -mem-prealloc -smp 2
Setup the OpenFlow ruls::