66203a88d6
Using the vhost_user API on the initiator side, we can craft arbitrary requests to fuzz the vhost target APIs. This script currently supports vhost_blk, but will support both vhost_blk and vhost_scsi. Change-Id: I7f0af6ca2adabbc18b7029ea77b33f47fce9c16b Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/454682 Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
96 lines
1.9 KiB
JSON
96 lines
1.9 KiB
JSON
{
|
|
"vhost_scsi_mgmt_cmd": {
|
|
"req_iov": {
|
|
"iov_base": "20007960ff60",
|
|
"iov_len": 51
|
|
},
|
|
"data_iov": {
|
|
"iov_base": "2000794dbe00",
|
|
"iov_len": 1024
|
|
},
|
|
"resp_iov": {
|
|
"iov_base": "20007960ff98",
|
|
"iov_len": 108
|
|
},
|
|
"lun": "AQA5vBf3KyE=",
|
|
"tag": 6163879237324549222,
|
|
"task_attr": 247,
|
|
"prio": 242,
|
|
"crn": 169,
|
|
"cdb": "ErxZ/qpHBau8gPzjbpotpbTnOW/2g0ns2yRh4jhe5kc="
|
|
},
|
|
"vhost_scsi_mgmt_cmd": {
|
|
"req_iov": {
|
|
"iov_base": "20007960fe78",
|
|
"iov_len": 51
|
|
},
|
|
"data_iov": {
|
|
"iov_base": "2000794dbe00",
|
|
"iov_len": 1024
|
|
},
|
|
"resp_iov": {
|
|
"iov_base": "20007960feb0",
|
|
"iov_len": 108
|
|
},
|
|
"lun": "AQAwWRrhAoo=",
|
|
"tag": 10457151189012466200,
|
|
"task_attr": 97,
|
|
"prio": 158,
|
|
"crn": 41,
|
|
"cdb": "Ejjxdzl8KwRDhq+MPfY3J3niYfAHj+2irE8Q2vIfQIk="
|
|
},
|
|
"vhost_scsi_cmd": {
|
|
"req_iov": {
|
|
"iov_base": "20007960fe78",
|
|
"iov_len": 24
|
|
},
|
|
"data_iov": {
|
|
"iov_base": "20007960fe78",
|
|
"iov_len": 1024
|
|
},
|
|
"resp_iov": {
|
|
"iov_base": "20007960fe78",
|
|
"iov_len": 5
|
|
},
|
|
"type": 3,
|
|
"subtype": 872683406,
|
|
"lun": "LdaLkHOIQxI=",
|
|
"tag": 8452696012704506104
|
|
},
|
|
"vhost_scsi_cmd": {
|
|
"req_iov": {
|
|
"iov_base": "20007960fe78",
|
|
"iov_len": 24
|
|
},
|
|
"data_iov": {
|
|
"iov_base": "20007960fe78",
|
|
"iov_len": 1024
|
|
},
|
|
"resp_iov": {
|
|
"iov_base": "20007960fe78",
|
|
"iov_len": 5
|
|
},
|
|
"type": 3,
|
|
"subtype": 872683406,
|
|
"lun": "LdaLkHOIQxI=",
|
|
"tag": 8452696012704506104
|
|
},
|
|
"vhost_blk_cmd": {
|
|
"req_iov": {
|
|
"iov_base": "20007960fe78",
|
|
"iov_len": 24
|
|
},
|
|
"data_iov": {
|
|
"iov_base": "20007960fe78",
|
|
"iov_len": 1024
|
|
},
|
|
"resp_iov": {
|
|
"iov_base": "20007960fe78",
|
|
"iov_len": 5
|
|
},
|
|
"type": 2,
|
|
"ioprio": 4343,
|
|
"sector": 24323523
|
|
}
|
|
}
|