Skip to content

Commit 82feba2

Browse files
Martin Belangerdwsuse
authored andcommitted
python: Add dump_config
Add support to the Python binding to dump the JSON config by hooking up nvme_dump_config. Signed-off-by: Martin Belanger <[email protected]> Signed-off-by: Daniel Wagner <[email protected]>
1 parent 19a957f commit 82feba2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

libnvme/nvme.i

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,9 @@ struct nvme_ns {
373373
void update_config() {
374374
nvme_update_config($self);
375375
}
376+
void dump_config() {
377+
nvme_dump_config($self);
378+
}
376379
}
377380

378381
%extend host_iter {

0 commit comments

Comments
 (0)