summaryrefslogtreecommitdiffstats
path: root/src/spdk/test/vhost/fiotest/conf.json
blob: 7a1594b240f590205f6a12c6f791035e90214fda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
  "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"
        }
      ]
    }
  ]
}