Fixes to qemu-nbd (--offset/--image-size)
Get series with b4
b4 am 20160920113654.73d4a77a@fiorinaVersions newest first
- v1 Latest2 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | qemu-nbd: Shrink image size by specified offsetqemu-nbd.c | +7 | 4 replies | |
| 2/2 | qemu-nbd: Add --image-size optionqemu-nbd.c qemu-nbd.texi | +39 | 6 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Paolo Bonzini |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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