Commit 33981a6d authored by Pawel Kaminski's avatar Pawel Kaminski Committed by Tomasz Zawadzki
Browse files

test/vhost: Replace ini config with json in shared test

parent 64a55791
Loading
Loading
Loading
Loading

test/vhost/shared/bdev.conf

deleted100644 → 0
+0 −5
Original line number Diff line number Diff line
[VirtioUser0]
  Path Malloc.0
  Queues 2
  Type Blk
  Name VirtioBlk0
+20 −0
Original line number Diff line number Diff line
{
  "subsystems": [
    {
      "subsystem": "bdev",
      "config": [
        {
          "method": "bdev_virtio_attach_controller",
          "params": {
            "vq_count": 2,
            "traddr": "Malloc.0",
            "dev_type": "blk",
            "vq_size": 512,
            "name": "VirtioBlk0",
            "trtype": "user"
          }
        }
      ]
    }
  ]
}
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ rpc_py="$rootdir/scripts/rpc.py -s $(get_vhost_dir 0)/rpc.sock"
function run_spdk_fio() {
	fio_bdev --ioengine=spdk_bdev \
	"$rootdir/test/vhost/common/fio_jobs/default_initiator.job" --runtime=10 --rw=randrw \
	--spdk_mem=1024 --spdk_single_seg=1 --spdk_conf=$testdir/bdev.conf "$@"
	--spdk_mem=1024 --spdk_single_seg=1 --spdk_json_conf=$testdir/bdev.json "$@"
}

vhosttestinit