Re: [Qemu-devel] [RFC PATCH 06/36] qmp: add block-job-pause and block-job-resume

2012-07-11 Thread Paolo Bonzini
Il 15/06/2012 19:32, Eric Blake ha scritto: > Just so I'm clear, am I right that: > > calling block-job-pause multiple times means the subsequent calls are > successful no-ops; likewise, calling block-job-resume on a job not > paused (whether by calling multiple times, or if the job never paused i

Re: [Qemu-devel] [RFC PATCH 06/36] qmp: add block-job-pause and block-job-resume

2012-06-15 Thread Eric Blake
On 06/15/2012 09:05 AM, Paolo Bonzini wrote: > 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. > > Si

[Qemu-devel] [RFC PATCH 06/36] qmp: add block-job-pause and block-job-resume

2012-06-15 Thread Paolo Bonzini
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 --- blockdev.c | 35 ++