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_DEVICE_NOT_ACTIVE, device); > return -1; > } > + > +void monitor_print_block_jobs(Monitor *mon, const QObject *data) > +{ > + monitor_printf(mon, "No active jobs\n"); > +} > + > +void do_info_block_jobs(Monitor *mon, QObject **ret_data) > +{ > + *ret_data = QOBJECT(qdict_new()); > +}
This should return an empty qlist, not a qdict. -- Thanks, Adam