summaryrefslogtreecommitdiffstats
path: root/block/export
diff options
context:
space:
mode:
authorKevin Wolf2020-09-24 17:27:01 +0200
committerKevin Wolf2020-10-02 15:46:40 +0200
commitb6076afcabc7a3947d0b212b956f4575e6795c56 (patch)
tree08a52b07e0496abdcaff8e3ee7a1db1cd7e41aba /block/export
parentblock/export: Move AioContext from NBDExport to BlockExport (diff)
downloadqemu-b6076afcabc7a3947d0b212b956f4575e6795c56.tar.gz
qemu-b6076afcabc7a3947d0b212b956f4575e6795c56.tar.xz
qemu-b6076afcabc7a3947d0b212b956f4575e6795c56.zip
block/export: Add node-name to BlockExportOptions
Every block export needs a block node to export, so add a 'node-name' option to BlockExportOptions and remove the replaced option 'device' from BlockExportOptionsNbd. To maintain compatibility in nbd-server-add, BlockExportOptionsNbd needs to be wrapped by a new type NbdServerAddOptions that adds 'device' back because nbd-server-add doesn't use the BlockExportOptions base type at all (so even without changing it to a 'node-name' option in block-export-add, this compatibility code would be necessary). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20200924152717.287415-16-kwolf@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/export')
0 files changed, 0 insertions, 0 deletions