diff options
| author | Stefano Garzarella <[email protected]> | 2021-03-15 16:34:50 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2021-05-03 08:55:53 +0000 |
| commit | 899c4d187f6a5c11d8eae33506fa0736dbabc39f (patch) | |
| tree | aa1bccd943f8085eabebd66e333c8e8f096820f3 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | vdpa_sim_blk: handle VIRTIO_BLK_T_GET_ID (diff) | |
| download | kernel-899c4d187f6a5c11d8eae33506fa0736dbabc39f.tar.gz kernel-899c4d187f6a5c11d8eae33506fa0736dbabc39f.zip | |
vdpa_sim_blk: add support for vdpa management tool
Enable the user to create vDPA block simulator devices using the
vdpa management tool:
# Show vDPA supported devices
$ vdpa mgmtdev show
vdpasim_blk:
supported_classes block
# Create a vDPA block device named as 'blk0' from the management
# device vdpasim:
$ vdpa dev add mgmtdev vdpasim_blk name blk0
# Show the info of the 'blk0' device just created
$ vdpa dev show blk0 -jp
{
"dev": {
"blk0": {
"type": "block",
"mgmtdev": "vdpasim_blk",
"vendor_id": 0,
"max_vqs": 1,
"max_vq_size": 256
}
}
}
# Delete the vDPA device after its use
$ vdpa dev del blk0
Signed-off-by: Stefano Garzarella <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
