[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1][ 03/21] qapi: add module init types for qapi
From: |
Michael Roth |
Subject: |
[Qemu-devel] [PATCH v1][ 03/21] qapi: add module init types for qapi |
Date: |
Wed, 1 Jun 2011 12:24:31 -0500 |
Signed-off-by: Michael Roth <address@hidden>
---
module.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/module.h b/module.h
index 9263f1c..ef66730 100644
--- a/module.h
+++ b/module.h
@@ -24,12 +24,14 @@ typedef enum {
MODULE_INIT_BLOCK,
MODULE_INIT_DEVICE,
MODULE_INIT_MACHINE,
+ MODULE_INIT_QAPI,
MODULE_INIT_MAX
} module_init_type;
#define block_init(function) module_init(function, MODULE_INIT_BLOCK)
#define device_init(function) module_init(function, MODULE_INIT_DEVICE)
#define machine_init(function) module_init(function, MODULE_INIT_MACHINE)
+#define qapi_init(function) module_init(function, MODULE_INIT_QAPI)
void register_module_init(void (*fn)(void), module_init_type type);
--
1.7.0.4
- [Qemu-devel] [PATCH v1][ 10/21] qapi: add QMP input visiter, (continued)
- [Qemu-devel] [PATCH v1][ 10/21] qapi: add QMP input visiter, Michael Roth, 2011/06/01
- [Qemu-devel] [PATCH v1][ 11/21] qapi: add QMP output visiter, Michael Roth, 2011/06/01
- [Qemu-devel] [PATCH v1][ 09/21] qapi: add qapi-visit-core.h, Michael Roth, 2011/06/01
- [Qemu-devel] [PATCH v1][ 21/21] qapi: add QAPI code generation documentation, Michael Roth, 2011/06/01
- [Qemu-devel] [PATCH v1][ 08/21] qapi: add qapi-types-core.h, Michael Roth, 2011/06/01
- [Qemu-devel] [PATCH v1][ 20/21] qapi: Makefile changes to build test-qmp-commands, Michael Roth, 2011/06/01
- [Qemu-devel] [PATCH v1][ 02/21] qlist: add qlist_first()/qlist_next(), Michael Roth, 2011/06/01
- [Qemu-devel] [PATCH v1][ 01/21] Add hard build dependency on glib, Michael Roth, 2011/06/01
- [Qemu-devel] [PATCH v1][ 07/21] qapi: add qapi-commands.py code generator, Michael Roth, 2011/06/01
- [Qemu-devel] [PATCH v1][ 03/21] qapi: add module init types for qapi,
Michael Roth <=
- [Qemu-devel] [PATCH v1][ 13/21] qapi: add command registration/lookup functions, Michael Roth, 2011/06/01
- [Qemu-devel] [PATCH v1][ 04/21] qapi: add ordereddict/qapi.py helper libraries, Michael Roth, 2011/06/01
- [Qemu-devel] [PATCH v1][ 14/21] qapi: add QMP dispatch functions, Michael Roth, 2011/06/01
- [Qemu-devel] [PATCH v1][ 12/21] qapi: add QAPI dealloc visiter, Michael Roth, 2011/06/01
- [Qemu-devel] [PATCH v1][ 19/21] qapi: add test-qmp-commands, tests for gen. marshalling/dispatch code, Michael Roth, 2011/06/01