Pawel Niedzwiecki 035f490d65 test/vhost: Use json configuration file in vhost fiotest.
Change-Id: I0c032913eff08571ed275f939dc191496fa241ec
Signed-off-by: Pawel Niedzwiecki <pawelx.niedzwiecki@intel.com>
Reviewed-on: https://review.gerrithub.io/411677
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
2018-05-30 00:53:12 +00:00

81 lines
1.6 KiB
JSON

{
"subsystems": [
{
"subsystem": "copy",
"config": null
},
{
"subsystem": "interface",
"config": null
},
{
"subsystem": "net_framework",
"config": null
},
{
"subsystem": "bdev",
"config": [
{
"params": {
"base_bdev": "Nvme0n1",
"split_size_mb": 0,
"split_count": 4
},
"method": "construct_split_vbdev"
},
{
"params": {
"block_size": 4096,
"num_blocks": 32768
},
"method": "construct_malloc_bdev"
},
{
"params": {
"block_size": 4096,
"num_blocks": 32768
},
"method": "construct_malloc_bdev"
}
]
},
{
"subsystem": "nbd",
"config": []
},
{
"subsystem": "scsi",
"config": null
},
{
"subsystem": "vhost",
"config": [
{
"params": {
"cpumask": "0x1",
"ctrlr": "vhost.0"
},
"method": "construct_vhost_scsi_controller"
},
{
"params": {
"scsi_target_num": 0,
"bdev_name": "Malloc0",
"ctrlr": "vhost.0"
},
"method": "add_vhost_scsi_lun"
},
{
"params": {
"dev_name": "Malloc1",
"readonly": true,
"ctrlr": "vhost.1",
"cpumask": "0x1"
},
"method": "construct_vhost_blk_controller"
}
]
}
]
}