X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fsample_app_ug%2Fvhost_blk.rst;h=788eef0d5f6fee608cd631c91a86c248dc3bc878;hb=6cc51b1293ceac4a77d4bf7ac91a8bbd59e1f78c;hp=39096e2e4fb742f39603e62aca21f548de59a8db;hpb=c19beb3f38cd8463f87f01e1f5941a2a821b8ac6;p=dpdk.git diff --git a/doc/guides/sample_app_ug/vhost_blk.rst b/doc/guides/sample_app_ug/vhost_blk.rst index 39096e2e4f..788eef0d5f 100644 --- a/doc/guides/sample_app_ug/vhost_blk.rst +++ b/doc/guides/sample_app_ug/vhost_blk.rst @@ -36,7 +36,7 @@ Start the vhost_blk example .. code-block:: console - ./vhost_blk -m 1024 + ./dpdk-vhost_blk -m 1024 .. _vhost_blk_app_run_vm: @@ -51,7 +51,7 @@ Start the VM -drive file=os.img,if=none,id=disk \ -device ide-hd,drive=disk,bootindex=0 \ -chardev socket,id=char0,reconnect=1,path=/tmp/vhost.socket \ - -device vhost-user-blk-pci,ring_packed=1,chardev=char0,num-queues=1 \ + -device vhost-user-blk-pci,packed=on,chardev=char0,num-queues=1 \ ... .. note:: @@ -59,5 +59,7 @@ Start the VM Qemu v4.0 or newer version is required. reconnect=1 means live recovery support that qemu can reconnect vhost_blk after we restart vhost_blk example. - ring_packed=1 means the device support packed ring but need the guest kernel - version >= 5.0 + packed=on means the device support packed ring but need the guest kernel + version >= 5.0. + Now Qemu commit 9bb73502321d46f4d320fa17aa38201445783fc4 both support the + vhost-blk reconnect and packed ring.