diff options
| author | Tomáš Golembiovský | 2016-10-05 23:40:20 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2016-10-06 18:04:13 +0200 |
| commit | e424b6550f486b2a9ab32b13c3824021199bac54 (patch) | |
| tree | 3cd45550b2276e87a281ffe6adbc1f2b4f535dd6 /scripts/switch-timer-api | |
| parent | qemu_kill_report: Report PID name too (diff) | |
| download | qemu-e424b6550f486b2a9ab32b13c3824021199bac54.tar.gz qemu-e424b6550f486b2a9ab32b13c3824021199bac54.tar.xz qemu-e424b6550f486b2a9ab32b13c3824021199bac54.zip | |
qemu-nbd: Shrink image size by specified offset
When --offset is set the apparent device size has to be adjusted
accordingly. Otherwise client may request read/write beyond the file end
which would fail.
Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
Message-Id: <8a31654cb182932db78b95aae1e904fc2bd1c465.1475698895.git.tgolembi@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
