Skip to content
Snippets Groups Projects
Commit 8faad1c7 authored by Kevin Wolf's avatar Kevin Wolf
Browse files

commit: Expose on-error option in QMP


Now that the error handling in the common block job is fixed, we can
expose the on-error option in QMP instead of hard-coding it as 'report'
in qmp_block_commit().

This fulfills the promise that the old comment in that function made,
even if a bit later than expected: "This will be part of the QMP
command, if/when the BlockdevOnError change for blkmirror makes it in".

Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Message-Id: <20200214200812.28180-7-kwolf@redhat.com>
Reviewed-by: default avatarJán Tomko <jtomko@redhat.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent 9ad1e79f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment