qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] nbd: Allow debugging tuning of handshake limit
@ 2025-02-03 22:26 Eric Blake
  2025-02-03 22:26 ` [PATCH 1/2] qemu-nbd: Allow users to adjust " Eric Blake
  2025-02-03 22:26 ` [PATCH 2/2] nbd/server: Allow users to adjust handshake limit in QMP Eric Blake
  0 siblings, 2 replies; 16+ messages in thread
From: Eric Blake @ 2025-02-03 22:26 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-block

Reviving a patch that has been sitting in my tree for a while.  It's
mostly useful for low-level integration testing (such as debugging
libnbd as an NBD client).

Eric Blake (2):
  qemu-nbd: Allow users to adjust handshake limit
  nbd/server: Allow users to adjust handshake limit in QMP

 docs/tools/qemu-nbd.rst        |  5 +++++
 qapi/block-export.json         | 10 +++++++++
 include/block/nbd.h            |  6 ++---
 block/monitor/block-hmp-cmds.c |  4 ++--
 blockdev-nbd.c                 | 26 ++++++++++++++-------
 qemu-nbd.c                     | 41 +++++++++++++++++++++-------------
 6 files changed, 64 insertions(+), 28 deletions(-)

-- 
2.48.1



^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCH for-9.2 0/2] NBD: tune handshake timeout
@ 2024-08-09 16:14 Eric Blake
  2024-08-09 16:14 ` [PATCH 2/2] nbd/server: Allow users to adjust handshake limit in QMP Eric Blake
  0 siblings, 1 reply; 16+ messages in thread
From: Eric Blake @ 2024-08-09 16:14 UTC (permalink / raw)
  To: qemu-devel
  Cc: kwolf, hreitz, berrange, qemu-block, den, andrey.drobyshev,
	alexander.ivanov, vsementsov

Originally posted as the tail part of this v4 series:
https://lists.gnu.org/archive/html/qemu-devel/2024-08/msg01154.html

but not deemed necessary for 9.1 as it is a feature addition that was
not proposed before soft freeze (even if the point of the feature is
to enable interop testing to revert back to 9.0 behavior allowing for
unlimited time when debuging an NBD_OPT interchange under gdb).

As part of closing out the CVE, where the v4 patches used
handshake_limit, the actual pull request used handshake_max_secs (a
bit more self-documenting); I rebased that rename into the QMP code,
but prefer to keep the qemu-nbd command-line spelling shorter.  But
I'm open to any arguments on why the names should be the same, or on
any other better spellings to expose to the user.

Eric Blake (2):
  qemu-nbd: Allow users to adjust handshake limit
  nbd/server: Allow users to adjust handshake limit in QMP

 docs/tools/qemu-nbd.rst        |  5 +++++
 qapi/block-export.json         | 10 +++++++++
 include/block/nbd.h            |  6 ++---
 block/monitor/block-hmp-cmds.c |  4 ++--
 blockdev-nbd.c                 | 26 ++++++++++++++-------
 qemu-nbd.c                     | 41 +++++++++++++++++++++-------------
 6 files changed, 64 insertions(+), 28 deletions(-)

-- 
2.46.0



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-02-12 14:35 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-03 22:26 [PATCH 0/2] nbd: Allow debugging tuning of handshake limit Eric Blake
2025-02-03 22:26 ` [PATCH 1/2] qemu-nbd: Allow users to adjust " Eric Blake
2025-02-06  7:02   ` Vladimir Sementsov-Ogievskiy
2025-02-03 22:26 ` [PATCH 2/2] nbd/server: Allow users to adjust handshake limit in QMP Eric Blake
2025-02-05  6:55   ` Markus Armbruster
2025-02-05 20:36     ` Eric Blake
2025-02-06  5:54       ` Markus Armbruster
2025-02-06  7:20   ` Vladimir Sementsov-Ogievskiy
2025-02-10 21:46     ` Eric Blake
2025-02-12 14:33       ` Vladimir Sementsov-Ogievskiy
  -- strict thread matches above, loose matches on Subject: below --
2024-08-09 16:14 [PATCH for-9.2 0/2] NBD: tune handshake timeout Eric Blake
2024-08-09 16:14 ` [PATCH 2/2] nbd/server: Allow users to adjust handshake limit in QMP Eric Blake
2024-10-02 13:18   ` Vladimir Sementsov-Ogievskiy
2024-10-02 13:49   ` Markus Armbruster
2024-10-02 13:58     ` Vladimir Sementsov-Ogievskiy
2024-10-02 15:14       ` Markus Armbruster
2024-10-02 15:20         ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).