Re: [Qemu-devel] [PATCH v2 2/2] Add dynamic generation of module_block.h

2015-09-09 Thread Marc Marí
On Wed, 9 Sep 2015 10:27:13 +0800 Fam Zheng wrote: > On Tue, 09/08 15:53, Marc Marí wrote: > > diff --git a/include/qemu/module_block.h > > b/include/qemu/module_block.h deleted file mode 100644 > > index d725db8..000 > > --- a/include/qemu/module_block.h > > +++ /dev/null > > @@ -1,90 +0,0 @

Re: [Qemu-devel] [PATCH v2 2/2] Add dynamic generation of module_block.h

2015-09-08 Thread Fam Zheng
On Tue, 09/08 15:53, Marc Marí wrote: > diff --git a/include/qemu/module_block.h b/include/qemu/module_block.h > deleted file mode 100644 > index d725db8..000 > --- a/include/qemu/module_block.h > +++ /dev/null > @@ -1,90 +0,0 @@ > -/* AUTOMATICALLY GENERATED, DO NOT MODIFY */ > -/* > - * QEMU

[Qemu-devel] [PATCH v2 2/2] Add dynamic generation of module_block.h

2015-09-08 Thread Marc Marí
To simplify the addition of new block modules, add a script that generates include/qemu/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í --- .gitignore | 1 + Makefile