stream: add on-error argument

This patch adds support for error management to streaming.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
Paolo Bonzini 2012-09-28 17:22:59 +02:00 committed by Kevin Wolf
parent 32c81a4a6e
commit 1d809098aa
6 changed files with 47 additions and 9 deletions

View file

@ -787,7 +787,7 @@ EQMP
{
.name = "block-stream",
.args_type = "device:B,base:s?,speed:o?",
.args_type = "device:B,base:s?,speed:o?,on-error:s?",
.mhandler.cmd_new = qmp_marshal_input_block_stream,
},