From cc87019ab65be532ad8ae7115c71ce20b6b55824 Mon Sep 17 00:00:00 2001 From: Liang Yan Date: Thu, 3 May 2018 09:01:51 +0800 Subject: [PATCH] vhost:Update the device config in vhost.conf.in Change-Id: I4d0bf222600437221b017533604876b8d6c717e1 Signed-off-by: Liang Yan Reviewed-on: https://review.gerrithub.io/409797 Tested-by: SPDK Automated Test System Reviewed-by: Changpeng Liu Reviewed-by: Jim Harris Reviewed-by: Daniel Verkamp --- etc/spdk/vhost.conf.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/etc/spdk/vhost.conf.in b/etc/spdk/vhost.conf.in index b7f1b8ec5..8f5e150d9 100644 --- a/etc/spdk/vhost.conf.in +++ b/etc/spdk/vhost.conf.in @@ -109,13 +109,13 @@ Name vhost.0 # Assign devices from backend # Use the first malloc device - Dev 0 Malloc0 + Target 0 Malloc0 # Use the first AIO device - #Dev 1 AIO0 + #Target 1 AIO0 # Use the frist Nvme device - #Dev 2 Nvme0n1 + #Target 2 Nvme0n1 # Use the third partition from second Nvme device - #Dev 3 Nvme1n1p2 + #Target 3 Nvme1n1p2 # Start the poller for this vhost controller on one of the cores in # this cpumask. By default, it not specified, will use any core in the @@ -124,7 +124,7 @@ #[VhostScsi1] # Name vhost.1 -# Dev 0 AIO1 +# Target 0 AIO1 # Cpumask 0x1 #[VhostBlk0]