diff options
author | Alexander Bulekov <alxndr@bu.edu> | 2020-02-19 23:11:00 -0500 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-02-22 08:26:47 +0000 |
commit | e785e50a5eb37e143bbe68b1693753b9bcfba005 (patch) | |
tree | 6c43d8a7ce5c168e3ac8e274d52950cc319a78f9 | |
parent | 46a07579ebb081493618bfa00ef8e241cd0dcc4f (diff) | |
download | qemu-e785e50a5eb37e143bbe68b1693753b9bcfba005.zip qemu-e785e50a5eb37e143bbe68b1693753b9bcfba005.tar.gz qemu-e785e50a5eb37e143bbe68b1693753b9bcfba005.tar.bz2 |
fuzz: add FUZZ_TARGET module type
Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Message-id: 20200220041118.23264-5-alxndr@bu.edu
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
-rw-r--r-- | include/qemu/module.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/qemu/module.h b/include/qemu/module.h index 65ba596..684753d 100644 --- a/include/qemu/module.h +++ b/include/qemu/module.h @@ -46,6 +46,7 @@ typedef enum { MODULE_INIT_TRACE, MODULE_INIT_XEN_BACKEND, MODULE_INIT_LIBQOS, + MODULE_INIT_FUZZ_TARGET, MODULE_INIT_MAX } module_init_type; @@ -56,7 +57,8 @@ typedef enum { #define xen_backend_init(function) module_init(function, \ MODULE_INIT_XEN_BACKEND) #define libqos_init(function) module_init(function, MODULE_INIT_LIBQOS) - +#define fuzz_target_init(function) module_init(function, \ + MODULE_INIT_FUZZ_TARGET) #define block_module_load_one(lib) module_load_one("block-", lib) #define ui_module_load_one(lib) module_load_one("ui-", lib) #define audio_module_load_one(lib) module_load_one("audio-", lib) |