diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2020-09-24 17:27:01 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2020-10-02 15:46:40 +0200 |
| commit | b6076afcabc7a3947d0b212b956f4575e6795c56 (patch) | |
| tree | 08a52b07e0496abdcaff8e3ee7a1db1cd7e41aba /scripts/qapi/error.py | |
| parent | 8612c6867341e52416e63fce8b19ede8501c159a (diff) | |
| download | focaccia-qemu-b6076afcabc7a3947d0b212b956f4575e6795c56.tar.gz focaccia-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 'scripts/qapi/error.py')
0 files changed, 0 insertions, 0 deletions