virtiofsd: Call qemu_init_exec_dir
commitff3995e2f0e12770dfa73d9e95c0461024840b9a
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 2 Oct 2020 12:40:15 +0000 (2 13:40 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 12 Oct 2020 11:39:38 +0000 (12 12:39 +0100)
treed2577c9b3a6df2aeaf594294c93acba21eb5a004
parentf6698f2b03b0db76aff7298ed4de1f9a0e22cc26
virtiofsd: Call qemu_init_exec_dir

Since fcb4f59c879 qemu_get_local_state_pathname relies on the
init_exec_dir, and virtiofsd asserts because we never set it.
Set it.

Reported-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20201002124015.44820-1-dgilbert@redhat.com>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/passthrough_ll.c