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>
Showing
- blockdev.c 33 additions, 2 deletionsblockdev.c
- hmp-commands.hx 32 additions, 3 deletionshmp-commands.hx
- hmp.c 22 additions, 1 deletionhmp.c
- hmp.h 2 additions, 0 deletionshmp.h
- qapi-schema.json 45 additions, 1 deletionqapi-schema.json
- qmp-commands.hx 11 additions, 1 deletionqmp-commands.hx
- trace-events 2 additions, 0 deletionstrace-events
Loading
Please register or sign in to comment