]> git.proxmox.com Git - mirror_qemu.git/commit
blockjob: centralize QMP event emissions
authorJohn Snow <jsnow@redhat.com>
Thu, 27 Oct 2016 16:06:58 +0000 (12:06 -0400)
committerJeff Cody <jcody@redhat.com>
Tue, 1 Nov 2016 11:55:57 +0000 (07:55 -0400)
commit8254b6d9534ba6a7d078a717e777fefe75ec27b6
treeddecba3c1b7004fa8bc8428128668da1f7497e57
parent47970dfb0a611f6468a0ba44781b4610525d1af1
blockjob: centralize QMP event emissions

There's no reason to leave this to blockdev; we can do it in blockjobs
directly and get rid of an extra callback for most users.

All non-internal events, even those created outside of QMP, will
consistently emit events.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Message-id: 1477584421-1399-5-git-send-email-jsnow@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
block/commit.c
block/mirror.c
block/stream.c
block/trace-events
blockdev.c
blockjob.c
include/block/block_int.h
include/block/blockjob.h