Re: [Qemu-devel] [PATCH v4 2/5] qapi: auto generate enum value strings

2016-11-03 Thread Markus Armbruster
Lin Ma writes: > Automatically generate enum value strings that containing the acceptable > values. > (Borrowed Daniel's code.) > > Signed-off-by: Lin Ma > --- > scripts/qapi-types.py | 2 ++ > scripts/qapi.py | 9 + > 2 files changed, 11

[Qemu-devel] [PATCH v4 2/5] qapi: auto generate enum value strings

2016-10-20 Thread Lin Ma
Automatically generate enum value strings that containing the acceptable values. (Borrowed Daniel's code.) Signed-off-by: Lin Ma --- scripts/qapi-types.py | 2 ++ scripts/qapi.py | 9 + 2 files changed, 11 insertions(+) diff --git a/scripts/qapi-types.py