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

test/vhost Remove json conf and use rps calls instead

parent f139b86f
Loading
Loading
Loading
Loading

test/vhost/other/conf.json

deleted100644 → 0
+0 −43
Original line number Diff line number Diff line
{
  "subsystems": [
    {
      "subsystem": "accel",
      "config": null
    },
    {
      "subsystem": "interface",
      "config": null
    },
    {
      "subsystem": "net_framework",
      "config": null
    },
    {
      "subsystem": "bdev",
      "config": [
        {
          "params": {
            "block_size": 4096,
            "num_blocks": 32768
          },
          "method": "bdev_malloc_create"
        },
        {
          "params": {
            "block_size": 4096,
            "num_blocks": 32768
          },
          "method": "bdev_malloc_create"
        }
      ]
    },
    {
      "subsystem": "nbd",
      "config": []
    },
    {
      "subsystem": "scsi",
      "config": null
    }
  ]
}
+2 −1
Original line number Diff line number Diff line
@@ -67,9 +67,10 @@ notice ""
notice "running SPDK"
notice ""
vhost_run 0
vhost_load_config 0 $testdir/conf.json
notice ""
rpc_py="$rootdir/scripts/rpc.py -s $(get_vhost_dir 0)/rpc.sock"
$rpc_py bdev_malloc_create -b Malloc0 128 4096
$rpc_py bdev_malloc_create -b Malloc1 128 4096

# Try to get nonexistent vhost controller
if $rpc_py vhost_get_controllers -n nonexistent; then