diff --git a/docs/vhost-user-blk-testing.md b/docs/vhost-user-blk-testing.md index 6d496d39d..c56bed8fb 100644 --- a/docs/vhost-user-blk-testing.md +++ b/docs/vhost-user-blk-testing.md @@ -73,7 +73,7 @@ VMs run in client mode. They connect to the socket created by the `dpdkvhostuser # From the test terminal. We need to create one vhost-user-blk device for the --disk. ./cloud-hypervisor \ --cpus boot=4 \ - --memory size=1024M,hugepages=on \ + --memory size=1024M,hugepages=on,shared=true \ --kernel linux/arch/x86/boot/compressed/vmlinux.bin \ --cmdline "console=ttyS0 root=/dev/vda1 rw iommu=off" \ --disk path=images/focal-server-cloudimg-amd64.raw vhost_user=true,socket=/var/tmp/vhost.1,num_queues=4,queue_size=128 \ diff --git a/docs/vhost-user-net-testing.md b/docs/vhost-user-net-testing.md index 704fd61d8..331e60801 100644 --- a/docs/vhost-user-net-testing.md +++ b/docs/vhost-user-net-testing.md @@ -76,7 +76,7 @@ VMs run in client mode. They connect to the socket created by the `dpdkvhostuser # From one terminal. We need to give the cloud-hypervisor binary the NET_ADMIN capabilities for it to set TAP interfaces up on the host. ./cloud-hypervisor \ --cpus boot=2 \ - --memory size=512M,hugepages=on \ + --memory size=512M,hugepages=on,shared=true \ --kernel vmlinux \ --cmdline "console=ttyS0 console=hvc0 root=/dev/vda1 rw" \ --disk path=focal-server-cloudimg-amd64.raw \ @@ -85,7 +85,7 @@ VMs run in client mode. They connect to the socket created by the `dpdkvhostuser # From another terminal. We need to give the cloud-hypervisor binary the NET_ADMIN capabilities for it to set TAP interfaces up on the host. ./cloud-hypervisor \ --cpus boot=2 \ - --memory size=512M,hugepages=on \ + --memory size=512M,hugepages=on,shared=true \ --kernel vmlinux \ --cmdline "console=ttyS0 console=hvc0 root=/dev/vda1 rw" \ --disk path=focal-server-cloudimg-amd64.raw \