]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
plugins/lm: Pass numd option to nvme_lm_migration_recv
authorDmitry Sherstoboev <sdmitry@google.com>
Fri, 28 Mar 2025 17:50:15 +0000 (01:50 +0800)
committerDaniel Wagner <wagi@monom.org>
Tue, 1 Apr 2025 12:37:44 +0000 (12:37 +0000)
Forward the user-provided 'numd' value from the command-line options
to the underlying nvme_lm_migration_recv library function call.

Signed-off-by: Dmitry Sherstoboev <sdmitry@google.com>
plugins/lm/lm-nvme.c

index 47ea8a4f6a4338366be785a1d5efad166dd34736..b596c77323a744f3e03ad988b11105a8f3d0cc2d 100644 (file)
@@ -521,6 +521,7 @@ static int lm_migration_recv(int argc, char **argv, struct command *command, str
                .csuuidi = cfg.csuuidi,
                .offset = cfg.offset,
                .cntlid = cfg.cntlid,
+               .numd = cfg.numd,
                .data = data,
                .result = &result,
        };