aboutsummaryrefslogtreecommitdiff
path: root/softmmu/vl.c
diff options
context:
space:
mode:
authorAlexander Bulekov <alxndr@bu.edu>2020-05-11 23:01:30 -0400
committerStefan Hajnoczi <stefanha@redhat.com>2020-06-05 09:54:48 +0100
commit7a071a96d3ef48095892c1d1075c0181c8940058 (patch)
treefa65a01c0d7025d610749f54e6102e6c6ef664de /softmmu/vl.c
parent769335ecb1e8fd9c4317bdff7cfd0f84af7ab2f9 (diff)
downloadqemu-7a071a96d3ef48095892c1d1075c0181c8940058.zip
qemu-7a071a96d3ef48095892c1d1075c0181c8940058.tar.gz
qemu-7a071a96d3ef48095892c1d1075c0181c8940058.tar.bz2
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 'softmmu/vl.c')
-rw-r--r--softmmu/vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c
index ae5451b..05d1a4c 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -1993,7 +1993,7 @@ char *qemu_find_file(int type, const char *name)
return NULL;
}
-static void qemu_add_data_dir(const char *path)
+void qemu_add_data_dir(const char *path)
{
int i;