Am 01.08.2012 13:11, schrieb Paolo Bonzini:
> Il 01/08/2012 12:29, Kevin Wolf ha scritto:
+if ((on_error == BLOCKDEV_ON_ERROR_STOP ||
+ on_error == BLOCKDEV_ON_ERROR_ENOSPC) &&
+!bdrv_iostatus_is_enabled(bs)) {
+error_set(errp, QERR_INVALID_PARAMETER,
Il 01/08/2012 12:29, Kevin Wolf ha scritto:
>> > +if ((on_error == BLOCKDEV_ON_ERROR_STOP ||
>> > + on_error == BLOCKDEV_ON_ERROR_ENOSPC) &&
>> > +!bdrv_iostatus_is_enabled(bs)) {
>> > +error_set(errp, QERR_INVALID_PARAMETER, "on-error");
>> > +return;
>> > +
Am 24.07.2012 13:03, schrieb Paolo Bonzini:
> This patch adds support for error management to streaming.
>
> Signed-off-by: Paolo Bonzini
> ---
> block/stream.c | 28 +++-
> block_int.h |3 ++-
> blockdev.c | 11 ---
> hmp.c|3
On 07/24/2012 05:03 AM, Paolo Bonzini wrote:
> This patch adds support for error management to streaming.
>
> Signed-off-by: Paolo Bonzini
> ---
> +++ b/qapi-schema.json
> @@ -1656,17 +1656,23 @@
> #
> # @speed: #optional the maximum speed, in bytes per second
> #
> +# @on-error: #optional t
This patch adds support for error management to streaming.
Signed-off-by: Paolo Bonzini
---
block/stream.c | 28 +++-
block_int.h |3 ++-
blockdev.c | 11 ---
hmp.c|3 ++-
qapi-schema.json | 10 --
qmp-commands.hx |