linux-nvme / nvme-cli

NVMe management command line interface.
https://nvmexpress.org
GNU General Public License v2.0
1.49k stars 659 forks source link

nvme: Live Migration #2560

Open NateThornton opened 1 week ago

NateThornton commented 1 week ago

Implementation of TP 4159 PCIe Infrastructure for Live Migration plugin. Includes command support for Track Send, Migration Receive, Migration Send, and Controller Data Queue; Identify Controller LM related fields; Bash and ZSH completions.

Changes are isolated to the User Data Migration subset, with Track Memory functionality deferred to a future commit.

TP4159 PCIe Infrastructure for Live Migration 2024.07.30 Ratified.pdf

igaw commented 1 week ago

From a quick look, it looks good. The compiler is not happy though:

../plugins/lm/lm-nvme.c:485:65: error: '_Static_assert' with no message is a C2x extension [-Werror,-Wc2x-extensions]
NateThornton commented 1 week ago

@igaw Thanks for your feedback - I will make the corresponding changes to libnvme and then update this PR once available