summary refs log tree commit diff stats
path: root/scripts/qapi-event.py
diff options
context:
space:
mode:
authorWenchao Xia <wenchaoqemu@gmail.com>2014-06-18 08:43:31 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2014-06-23 11:01:25 -0400
commit43a14cfc0f122f3a18fdfe9e16538a6798b95b59 (patch)
tree4579e7db0fa96d9723a70e250a9ba59cfe3e818e /scripts/qapi-event.py
parenta589569f2f40a0454b52398035cfe7fbe44ab1e9 (diff)
downloadfocaccia-qemu-43a14cfc0f122f3a18fdfe9e16538a6798b95b59.tar.gz
focaccia-qemu-43a14cfc0f122f3a18fdfe9e16538a6798b95b59.zip
monitor: add an implemention of qapi event emit method
The monitor is now hooked on the new event mechanism, so that later
patches can convert event callers one by one. Most code are copied from
old monitor_protocol_* functions with some modification.

Note that two build time warnings will be raised after this patch. One is
caused by no caller of monitor_qapi_event_throttle(), the other one is
caused by QAPI_EVENT_MAX = 0. They will be fixed automatically after
full event conversion later.

Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'scripts/qapi-event.py')
0 files changed, 0 insertions, 0 deletions