Skip to content

block/curl: Drop TFTP "support"

Max Reitz qemu-devel 1 version Applied

Status from this message: Applied to my block branch (squashed, and commit message amended):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3qemu-options: Drop mentions of curl's TFTP supportqemu-options.hx+3 -31 reply
2/3qapi: Drop curl's TFTP protocoldocs/qmp-commands.txt qapi/block-core.json+4 -51 reply
3/3block/curl: Drop TFTP "support"block/curl.c+1 -191 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJeff CodyKevin Wolf
SeriesR-b
1/3R-b
2/3R-b
3/3R-b

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH for-2.8? 0/3] block/curl: Drop TFTP "support"

See patch 3 for the reason why we have actually never supported TFTP at all (except for very small files (i.e. below 256 kB or so)).

I would consider this series a bug fix because, well, it doesn't really change any functionality, and the bug is "We don't support TFTP but we pretend we do".

Alternatives to this approach:

- Deprecate TFTP first. Wait one version, then drop it.

We could do this, but I personally don't think it's necessary. We have done this for host_floppy, but in contrast to host_floppy, TFTP really has never worked. Thus, I conclude that nobody is actually using it or has ever used it for real work.

Still, if you think otherwise, we can still do this, of course.

- Don't remove TFTP altogether, but just emit a run-time error like we do for HTTP servers that do not support range-based requests.

Seems dirty and not like the real solution to me. Also, we have removed other block drivers in the past, so I don't think we should keep TFTP.

Max Reitz (3):
qemu-options: Drop mentions of curl's TFTP support
qapi: Drop curl's TFTP protocol block/curl: Drop TFTP "support"

 block/curl.c          | 20 +-------------------
 docs/qmp-commands.txt |  2 +-
 qapi/block-core.json  |  7 +++----
 qemu-options.hx       |  6 +++---
 4 files changed, 8 insertions(+), 27 deletions(-)
Signature · 1 line
2.10.2