fuzz: use qemu_get_exec_dir
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 31 Aug 2020 11:58:10 +0000 (07:58 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 30 Sep 2020 17:11:36 +0000 (19:11 +0200)
commitec986777accd688c1b7159778c9cc729e54a87f4
treee94dcfa595217767e96fe67be6a1140cdfc3c9f1
parenta4c13869f95cb45d657cc1df3803f633221d4971
fuzz: use qemu_get_exec_dir

Make things consistent with how softmmu/vl.c uses os_find_datadir.
Initializing the path to the executables will also be needed for
get_relocatable_path to work.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alexander Bulekov <alxndr@bu.edu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/qtest/fuzz/fuzz.c