From 00380d62d9f989cc4fab6d4c7ac1a78f5619aad7 Mon Sep 17 00:00:00 2001 From: Pawel Niedzwiecki Date: Thu, 3 Aug 2017 18:53:33 +0200 Subject: [PATCH] vhost: improve test coverage -Added creating controllers in vhost.conf Change-Id: I8b995904c93d5252644d8ff44bb82e669ea4c88c Signed-off-by: Pawel Niedzwiecki Reviewed-on: https://review.gerrithub.io/372491 Tested-by: SPDK Automated Test System Reviewed-by: Daniel Verkamp Reviewed-by: Jim Harris --- test/vhost/fiotest/vhost.conf.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test/vhost/fiotest/vhost.conf.in b/test/vhost/fiotest/vhost.conf.in index c86bd21bb..c54c75a04 100644 --- a/test/vhost/fiotest/vhost.conf.in +++ b/test/vhost/fiotest/vhost.conf.in @@ -6,5 +6,21 @@ [Ioat] Disable Yes +[Malloc] + NumberOfLuns 2 + LunSizeInMB 128 + BlockSize 4096 + [Split] Split Nvme0n1 4 + +[VhostScsi0] + Name vhost.0 + Dev 0 Malloc0 + Cpumask 0x1 + +[VhostBlk0] + Name vhost.1 + Dev Malloc1 + ReadOnly yes + Cpumask 0x1