qmp: add 'busy' member to BlockJobInfo
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 28 Sep 2012 15:22:49 +0000 (17:22 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 28 Sep 2012 17:14:32 +0000 (19:14 +0200)
commit8d65883fff22e00d70f5880a26b7a1248c59a2d8
tree7193c558defa36ff1e6cc1a9c89e730817270af5
parent30e628b709fcd30db298878e435e3bc93919c48c
qmp: add 'busy' member to BlockJobInfo

Because pausing a job is asynchronous, we need to know whether it has
completed.  This is described by the "busy" field of BlockJob; copy it
to BlockJobInfo.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockjob.c
qapi-schema.json