]> git.proxmox.com Git - mirror_qemu.git/commit - blockdev.c
qmp: add block-job-pause and block-job-resume
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 28 Sep 2012 15:22:51 +0000 (17:22 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 28 Sep 2012 17:14:32 +0000 (19:14 +0200)
commit6e37fb811ac86739e5ed30dba3a8e4848bd21b56
tree61bfc784684f6fc22ad910a6e8809395c499b63f
parent8acc72a4d20910d522516dab31272fe66da8da28
qmp: add block-job-pause and block-job-resume

Add QMP commands matching the functionality.

Paused jobs cannot be canceled without first resuming them.  This
ensures that I/O errors are never missed by management.  However, an
optional force argument can be specified to allow that.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c
hmp-commands.hx
hmp.c
hmp.h
qapi-schema.json
qmp-commands.hx
trace-events