Re: [PATCH v2 04/31] block/export: Add BlockExport infrastructure and block-export-add

2020-09-25 Thread Eric Blake
On 9/24/20 10:26 AM, Kevin Wolf wrote: We want to have a common set of commands for all types of block exports. Currently, this is only NBD, but we're going to add more types. This patch adds the basic BlockExport and BlockExportDriver structs and a QMP command block-export-add that creates a

[PATCH v2 04/31] block/export: Add BlockExport infrastructure and block-export-add

2020-09-24 Thread Kevin Wolf
We want to have a common set of commands for all types of block exports. Currently, this is only NBD, but we're going to add more types. This patch adds the basic BlockExport and BlockExportDriver structs and a QMP command block-export-add that creates a new export based on the given