]> git.ipfire.org Git - thirdparty/qemu.git/commit
commit: Expose on-error option in QMP
authorKevin Wolf <kwolf@redhat.com>
Fri, 14 Feb 2020 20:08:11 +0000 (21:08 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 18 Feb 2020 09:53:56 +0000 (10:53 +0100)
commit8faad1c7fbabec51223297a9477dbc0d2a7d0a24
tree95f11e2610f26c4764e38a00e30dec2e6e000387
parent9ad1e79f3f9b102a9aa05053347cf9874c7bc909
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: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200214200812.28180-7-kwolf@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c
qapi/block-core.json