On Tue, Aug 02, 2016 at 10:12:15AM -0400, Colin Lord wrote: > From: Marc Mari > > To simplify the addition of new block modules, add a script that generates > module_block.h automatically from the modules' source code. > > This script assumes that the QEMU coding style rules are followed. > > Signed-off-by: Marc Marí > Signed-off-by: Colin Lord > --- > Makefile | 7 +++ > scripts/modules/module_block.py | 108 ++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 115 insertions(+) > create mode 100644 scripts/modules/module_block.py Reviewed-by: Stefan Hajnoczi