diff options
author | Tomáš Golembiovský <tgolembi@redhat.com> | 2016-10-31 11:27:40 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-10-31 16:52:39 +0100 |
commit | 2fdc70452a59484c85359dc8d5a0650245288781 (patch) | |
tree | 6277fc0005b377633f326bfd6d28ec74fd73d948 /tests/virtio-blk-test.c | |
parent | 7eb13c9daac7e02bcd4dc18ad4297a93ae34d235 (diff) |
raw_bsd: add offset and size options
Added two new options 'offset' and 'size'. This makes it possible to use
only part of the file as a device. This can be used e.g. to limit the
access only to single partition in a disk image or use a disk inside a
tar archive (like OVA).
When 'size' is specified we do our best to honour it.
Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/virtio-blk-test.c')
0 files changed, 0 insertions, 0 deletions