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.
2fdc704 raw_bsd: add offset and size options
block/raw_bsd.c | 217 +++++++++++++++++++++++++++++++++++++++++++++++++-
qapi/block-core.json | 16 +++-
2 files changed, 229 insertions(+), 4 deletions(-)
Upstream: git.qemu.org