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.
Acked-by: Kevin Traynor
@@ -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::
