Am 25.10.2016 um 23:37 hat Tomáš Golembiovský geschrieben:
> I should test my code more before submitting it to ML. I have found two
> bugs in the patch.
Maybe one thing you could/should do is add a second patch which adds a
qemu-iotests case to test that the options are working correctly.
Kevin
I should test my code more before submitting it to ML. I have found two
bugs in the patch.
On Sun, 23 Oct 2016 16:54:37 +0200
Tomáš Golembiovský wrote:
> +static int raw_read_options(QDict *options, BlockDriverState *bs,
> +BDRVRawState *s, Error **errp)
> +{
> +Error *local_err = NULL;
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.
Signe