diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-14 19:29:53 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-14 19:29:53 +0100 |
commit | b96915806008563eaf3c070a30854661d9a6e418 (patch) | |
tree | 55e9fe69186e0c403be34ed30bbcb60416ec617f /qemu-common.h | |
parent | 201569d9acbba5b55249de407b01028e2b6a2ca7 (diff) | |
download | qemu-b96915806008563eaf3c070a30854661d9a6e418.tar.gz qemu-b96915806008563eaf3c070a30854661d9a6e418.tar.bz2 qemu-b96915806008563eaf3c070a30854661d9a6e418.zip |
Constructor support
Allow devices/drivers to register themselves via constructors.
Destructors are not needed (can be registered from a constructor)
and "priority" has been renamed and changed to an enum for clarity.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-common.h')
-rw-r--r-- | qemu-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h index ee4a672694..5f7f275d0f 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -221,6 +221,8 @@ void qemu_iovec_from_buffer(QEMUIOVector *qiov, const void *buf, size_t count); struct Monitor; typedef struct Monitor Monitor; +#include "module.h" + #endif /* dyngen-exec.h hack */ #endif |