diff options
| author | Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> | 2025-02-19 22:19:14 +0300 |
|---|---|---|
| committer | Eric Blake <eblake@redhat.com> | 2025-03-04 16:44:48 -0600 |
| commit | 57f3962bf17c088c3567d216e3eaa1b3131be5a4 (patch) | |
| tree | 6736e836c56351f367bd58013cc8655ef9b06a2b /blockdev-nbd.c | |
| parent | e2668ba1ed44ad56f2f1653ff5f53b277d534fac (diff) | |
| download | focaccia-qemu-57f3962bf17c088c3567d216e3eaa1b3131be5a4.tar.gz focaccia-qemu-57f3962bf17c088c3567d216e3eaa1b3131be5a4.zip | |
qapi: merge common parts of NbdServerOptions and nbd-server-start data
Instead of comment "Keep this type consistent with the nbd-server-start arguments", we can simply merge these things. Note that each field of new base already has "since" tag, equal in both original copies. So "since" information is saved. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Message-ID: <20250219191914.440451-1-vsementsov@yandex-team.ru> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'blockdev-nbd.c')
| -rw-r--r-- | blockdev-nbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/blockdev-nbd.c b/blockdev-nbd.c index 3f6f4ef92b..1e3e634b87 100644 --- a/blockdev-nbd.c +++ b/blockdev-nbd.c @@ -219,12 +219,12 @@ void nbd_server_start_options(NbdServerOptions *arg, Error **errp) arg->tls_authz, arg->max_connections, errp); } -void qmp_nbd_server_start(SocketAddressLegacy *addr, - bool has_handshake_max_secs, +void qmp_nbd_server_start(bool has_handshake_max_secs, uint32_t handshake_max_secs, const char *tls_creds, const char *tls_authz, bool has_max_connections, uint32_t max_connections, + SocketAddressLegacy *addr, Error **errp) { SocketAddress *addr_flat = socket_address_flatten(addr); |