mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 19:02:25 +00:00
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>
This commit is contained in:
parent
7166b1ec7e
commit
015fe0439f
@ -322,7 +322,7 @@ int
|
||||
qemuVirtioFSPrepareDomain(virQEMUDriver *driver,
|
||||
virDomainFSDef *fs)
|
||||
{
|
||||
if (fs->binary)
|
||||
if (fs->binary || fs->sock)
|
||||
return 0;
|
||||
|
||||
return qemuVhostUserFillDomainFS(driver, fs);
|
||||
|
Loading…
x
Reference in New Issue
Block a user