From 261b5de903b691cf5d36ae4d35407325103c3b0e Mon Sep 17 00:00:00 2001 From: Pawel Wodkowski Date: Mon, 12 Feb 2018 21:36:20 +0100 Subject: [PATCH] doc/vhost: add '-numa' to QEMU memory configuration This is quite important as QEMU vhost-user will report cryptic error message that there is no shared memory to use. Change-Id: Iad63962d4a3deed557db0b3420960aef557a3f86 Signed-off-by: Pawel Wodkowski Reviewed-on: https://review.gerrithub.io/399451 Tested-by: SPDK Automated Test System Reviewed-by: Dariusz Stojaczyk Reviewed-by: Jim Harris Reviewed-by: Daniel Verkamp --- doc/vhost.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/vhost.md b/doc/vhost.md index c631e17b7..c5ec32012 100644 --- a/doc/vhost.md +++ b/doc/vhost.md @@ -187,6 +187,7 @@ must be specified in this format with share=on. ~~~{.sh} -object memory-backend-file,id=mem,size=1G,mem-path=/dev/hugepages,share=on +-numa node,memdev=mem ~~~ Second, ensure QEMU boots from the virtual machine image and not the