Skip to content

Fixes to qemu-nbd (--offset/--image-size)

Tomáš Golembiovský qemu-devel 1 version In review

Get series with b4
b4 am 20160920113654.73d4a77a@fiorina

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2qemu-nbd: Shrink image size by specified offsetqemu-nbd.c+7 -04 replies
2/2qemu-nbd: Add --image-size optionqemu-nbd.c qemu-nbd.texi+39 -96 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPaolo Bonzini
1/2R-b
2/2

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 0/2] Fixes to qemu-nbd (--offset/--image-size)

The two patches basically "fix" the usage of --offset in qemu-nbd.

The first patch fixes the issue that when offset is used the device size is not updated and the client may request read/write beyond the end of the file.

Second patch adds new argument --image-size to hard set the size of the device. This is useful in combination with --offset when the image is embedded in a file, but does not span to the end of the file.

Tomáš Golembiovský (2):
qemu-nbd: Shrink image size by specified offset
qemu-nbd: Add --image-size option

 qemu-nbd.c    | 43 ++++++++++++++++++++++++++++++++++++++-----
 qemu-nbd.texi |  4 ++++
 2 files changed, 42 insertions(+), 5 deletions(-)
Signature · 1 line
2.9.3