Re: [Qemu-devel] [PATCH 4/4] qmp: add query-block-jobs

2011-08-23 Thread Adam Litke
On Tue, 2011-08-23 at 13:58 +0100, Stefan Hajnoczi wrote: > diff --git a/blockdev.c b/blockdev.c > index 036b7eb..e9098f6 100644 > --- a/blockdev.c > +++ b/blockdev.c > @@ -835,3 +835,13 @@ int do_block_job_cancel(Monitor *mon, const QDict > *params, QObject **ret_data) > qerror_report(QERR_D

[Qemu-devel] [PATCH 4/4] qmp: add query-block-jobs

2011-08-23 Thread Stefan Hajnoczi
This patch introduces the query-block-jobs HMP/QMP command. It is currently unimplemented and returns an empty dict. query-block-jobs Show progress of ongoing block device operations. Return a json-array of all block device operations. If no operation is active then return an