[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] Fixes to qemu-nbd (--offset/--image-size)
From: |
Tomáš Golembiovský |
Subject: |
[Qemu-devel] [PATCH 0/2] Fixes to qemu-nbd (--offset/--image-size) |
Date: |
Tue, 20 Sep 2016 11:36:54 +0200 |
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(-)
--
2.9.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH 0/2] Fixes to qemu-nbd (--offset/--image-size),
Tomáš Golembiovský <=