numam-spdk/test/vhost/initiator/bdev.json
Pawel Kaminski 1fd96c85b4 test/vhost: Replace old style config with json in initiator test
Change-Id: I622448dcd1de960793894395d7da55ebd612dcc7
Signed-off-by: Pawel Kaminski <pawelx.kaminski@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/529
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-02-10 10:25:11 +00:00

60 lines
1.4 KiB
JSON

{
"subsystems": [
{
"config": [
{
"params": {
"vq_count": 8,
"dev_type": "scsi",
"trtype": "user",
"traddr": "naa.Nvme0n1_scsi0.0",
"name": "VirtioScsi0"
},
"method": "bdev_virtio_attach_controller"
},
{
"params": {
"vq_count": 8,
"dev_type": "scsi",
"trtype": "user",
"traddr": "naa.Malloc0.0",
"name": "VirtioScsi1"
},
"method": "bdev_virtio_attach_controller"
},
{
"params": {
"vq_count": 8,
"dev_type": "scsi",
"trtype": "user",
"traddr": "naa.Malloc1.0",
"name": "VirtioScsi2"
},
"method": "bdev_virtio_attach_controller"
},
{
"params": {
"vq_count": 8,
"dev_type": "blk",
"trtype": "user",
"traddr": "naa.Nvme0n1_blk0.0",
"name": "VirtioBlk3"
},
"method": "bdev_virtio_attach_controller"
},
{
"params": {
"vq_count": 8,
"dev_type": "blk",
"trtype": "user",
"traddr": "naa.Nvme0n1_blk1.0",
"name": "VirtioBlk4"
},
"method": "bdev_virtio_attach_controller"
}
],
"subsystem": "bdev"
}
]
}