Re: [Qemu-devel] [PATCH] modules: Fix building with --enable-modules

2014-02-26 Thread Paolo Bonzini
Il 26/02/2014 06:56, Fam Zheng ha scritto: Compiling util/modules.c with modules enabled fails now. Fix it by: 1) Add #define CONFIG_MODULES with --enable-modules 2) Include qemu-common.h before #ifdef testing in module.c. Signed-off-by: Fam Zheng f...@redhat.com --- scripts/create_config |

[Qemu-devel] [PATCH] modules: Fix building with --enable-modules

2014-02-25 Thread Fam Zheng
Compiling util/modules.c with modules enabled fails now. Fix it by: 1) Add #define CONFIG_MODULES with --enable-modules 2) Include qemu-common.h before #ifdef testing in module.c. Signed-off-by: Fam Zheng f...@redhat.com --- scripts/create_config | 3 +++ util/module.c | 2 +- 2 files

Re: [Qemu-devel] [PATCH] modules: Fix building with --enable-modules

2014-02-25 Thread Hu Tao
On Wed, Feb 26, 2014 at 01:56:44PM +0800, Fam Zheng wrote: Compiling util/modules.c with modules enabled fails now. Fix it by: 1) Add #define CONFIG_MODULES with --enable-modules 2) Include qemu-common.h before #ifdef testing in module.c. Signed-off-by: Fam Zheng f...@redhat.com ---