]> xenbits.xensource.com Git - libvirt.git/commit
qemu: fs: do not try to fill binary path if we have a socket
authorJán Tomko <jtomko@redhat.com>
Thu, 20 May 2021 09:01:15 +0000 (11:01 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 20 May 2021 14:27:21 +0000 (16:27 +0200)
commit015fe0439f0592ca0b0274b306258a1e7aafe43c
treeb9d3bd63a7e2bae672a7f920f6a0df00431d01a8
parent7166b1ec7ef1c8e9758abfe47c7eb6760ed13265
qemu: fs: do not try to fill binary path if we have a socket

We do not need to look for a suitable binary in the vhost-user
description files, if we aren't the ones starting it.
Otherwise startup will fail with:

error: Failed to start domain 'vm1'
error: operation failed: Unable to find a satisfying virtiofsd

https://bugzilla.redhat.com/show_bug.cgi?id=1855789

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_virtiofs.c