summaryrefslogtreecommitdiffstats
path: root/include/sysemu
diff options
context:
space:
mode:
authorAlexander Bulekov2020-05-12 05:01:30 +0200
committerStefan Hajnoczi2020-06-05 10:54:48 +0200
commit7a071a96d3ef48095892c1d1075c0181c8940058 (patch)
treefa65a01c0d7025d610749f54e6102e6c6ef664de /include/sysemu
parentio_uring: use io_uring_cq_ready() to check for ready cqes (diff)
downloadqemu-7a071a96d3ef48095892c1d1075c0181c8940058.tar.gz
qemu-7a071a96d3ef48095892c1d1075c0181c8940058.tar.xz
qemu-7a071a96d3ef48095892c1d1075c0181c8940058.zip
fuzz: add datadir for oss-fuzz compatability
This allows us to keep pc-bios in executable_dir/pc-bios, rather than executable_dir/../pc-bios, which is incompatible with oss-fuzz' file structure. Signed-off-by: Alexander Bulekov <alxndr@bu.edu> Reviewed-by: Darren Kenny <darren.kenny@oracle.com> Message-id: 20200512030133.29896-2-alxndr@bu.edu Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/sysemu')
-rw-r--r--include/sysemu/sysemu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index 26c0c802d1..3efccdba7e 100644
--- a/include/sysemu/sysemu.h
+++ b/include/sysemu/sysemu.h
@@ -15,6 +15,8 @@ extern const char *qemu_name;
extern QemuUUID qemu_uuid;
extern bool qemu_uuid_set;
+void qemu_add_data_dir(const char *path);
+
void qemu_add_exit_notifier(Notifier *notify);
void qemu_remove_exit_notifier(Notifier *notify);