δΊ 2013/11/13 9:44, Wenchao Xia ει:
> This series add support for tag/keyword 'event' in qapi-schema.
> The implemention doesn't generate a struture and visit function
> in the background for every event, so it doesn't support nested
> structure in the define to avoid trouble.
>
> It is on top of series:
> http://lists.nongnu.org/archive/html/qemu-devel/2013-11/msg01574.html
>
> Wenchao Xia (3):
> 1 os-posix: include sys/time.h
> 2 qapi script: add support of event
> 3 tests: add test cases for qapi event support
>
> Makefile | 9 +-
> Makefile.objs | 2 +-
> include/sysemu/os-posix.h | 2 +
> qapi/Makefile.objs | 1 +
> scripts/qapi-event.py | 355
> +++++++++++++++++++++++++++++++
> tests/Makefile | 14 +-
> tests/qapi-schema/qapi-schema-test.json | 12 +
> tests/qapi-schema/qapi-schema-test.out | 10 +-
> tests/test-qmp-event.c | 250 ++++++++++++++++++++++
> 9 files changed, 646 insertions(+), 9 deletions(-)
> create mode 100644 scripts/qapi-event.py
> create mode 100644 tests/test-qmp-event.c
>
Luiz, do you think this series is in the right direction?