Skip to content

Commit 2f48aa0

Browse files
committed
Update README.md file
add/delete vdpa device examples Signed-off-by: Leonardo Milleri <lmilleri@redhat.com>
1 parent 8168e68 commit 2f48aa0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,18 @@ In order to build the application, just run the top level Makefile:
7070
./build/kvdpa-cli get 0000:05:00.4 0000:05:00.2
7171
0000:05:00.4 : {name:vdpa3 driver:vhost_vdpa path:/dev/vhost-vdpa-3}
7272
0000:05:00.2 : {name:vdpa1 driver:vhost_vdpa path:/dev/vhost-vdpa-1}
73+
74+
## Create vdpa device
75+
76+
Usage: kvdpa-cli add [mgmtdev] [dev]
77+
78+
Example:
79+
./build/kvdpa-cli add 0000:05:00.4 vdpa0
80+
81+
## Delete vdpa device
82+
83+
Usage: kvdpa-cli del [dev]
84+
85+
Example:
86+
./build/kvdpa-cli del vdpa0
87+

0 commit comments

Comments
 (0)