summary refs log tree commit diff stats
path: root/scripts/qapi/common.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2018-04-23 17:09:42 +0200
committerKevin Wolf <kwolf@redhat.com>2018-05-23 14:30:50 +0200
commit5d4f376998bc6b01402b90634385b082b2eb5c5b (patch)
treeea51785327bcc133d007727864ee0f0dd51f249c /scripts/qapi/common.py
parentbb02b65c7d57e4f2136f39bfba95cc68d89eb216 (diff)
downloadfocaccia-qemu-5d4f376998bc6b01402b90634385b082b2eb5c5b.tar.gz
focaccia-qemu-5d4f376998bc6b01402b90634385b082b2eb5c5b.zip
blockjob: Split block_job_event_pending()
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 that does the state transition.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions