On 05/09/2018 11:26 AM, Kevin Wolf wrote:
block_job_event_pending() doesn't only send a QMP event, but it also
transitions to the PENDING state. Split the function so that we get one
part only sending the event (like other block_job_event_* functions) and
another part than does the state transition.

s/than/that/


Signed-off-by: Kevin Wolf <kw...@redhat.com>
---
  blockjob.c | 27 ++++++++++++++++++---------
  1 file changed, 18 insertions(+), 9 deletions(-)


--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Reply via email to