Skip to content

qemu-nbd: Restore "qemu-nbd -v --fork" output

Denis V. Lunev qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 9 repliesIn review
  2. v11 patch 3 repliesSuperseded

Changes in v3 from the cover letter

- fixed error message of dup2 (patch #1)
- removed options copy as suggested by Eric
- moved all other options used in nbd_client_thread() to struct NbdClientOpts for consistency
- added documentation update to document -v behavior
- small formatting fix (please drop if this is extra)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8qemu-nbd: improve error message for dup2 errorqemu-nbd.c+2 -21 reply
2/8qemu-nbd: define struct NbdClientOpts when HAVE_NBD_DEVICE is not definedqemu-nbd.c+27 -331 reply
3/8qemu-nbd: move srcpath into struct NbdClientOptsqemu-nbd.c+9 -81 reply
4/8qemu-nbd: put saddr into into struct NbdClientOptsqemu-nbd.c+7 -61 reply
5/8qemu-nbd: invent nbd_client_release_pipe() helperqemu-nbd.c+12 -111 reply
6/8qemu-nbd: Restore "qemu-nbd -v --fork" outputqemu-nbd.c+20 -41 reply
7/8qemu-nbd: document -v behavior in respect to --fork in mandocs/tools/qemu-nbd.rst+3 -12 replies
8/8qemu-nbd: fix formatting in main()qemu-nbd.c+2 -11 reply

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchEric Blake
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8T-b R-b
7/8R-b
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/8] qemu-nbd: Restore "qemu-nbd -v --fork" output

This series contains the fix to the regression introduced with 5c56dd27a2 plus documentation update.

Changes from v2:
- fixed error message of dup2 (patch #1)
- removed options copy as suggested by Eric
- moved all other options used in nbd_client_thread() to struct NbdClientOpts for consistency
- added documentation update to document -v behavior
- small formatting fix (please drop if this is extra)

CC Eric Blake <[email protected]>
CC Vladimir Sementsov-Ogievskiy <[email protected]>