d76c62
From 33bca0809e436c0040aa17d546c2145e5432b023 Mon Sep 17 00:00:00 2001
d76c62
Message-Id: <33bca0809e436c0040aa17d546c2145e5432b023@dist-git>
d76c62
From: =?UTF-8?q?J=C3=A1n=20Tomko?= <jtomko@redhat.com>
d76c62
Date: Tue, 24 Mar 2020 11:30:18 +0100
d76c62
Subject: [PATCH] qemu: virtiofs: shorten socket filename
d76c62
MIME-Version: 1.0
d76c62
Content-Type: text/plain; charset=UTF-8
d76c62
Content-Transfer-Encoding: 8bit
d76c62
d76c62
Use just 'fs' instead of 'virtiofsd'.
d76c62
d76c62
https://bugzilla.redhat.com/show_bug.cgi?id=1816577
d76c62
d76c62
Signed-off-by: Ján Tomko <jtomko@redhat.com>
d76c62
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
d76c62
(cherry picked from commit 223b370aaa6fcbcbfbd4045fde4ae67e047180ad)
d76c62
Signed-off-by: Ján Tomko <jtomko@redhat.com>
d76c62
Message-Id: <ecf76c8829f804dcdb83eeb90f236316a240795e.1585045801.git.jtomko@redhat.com>
d76c62
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
d76c62
---
d76c62
 src/qemu/qemu_virtiofs.c | 2 +-
d76c62
 1 file changed, 1 insertion(+), 1 deletion(-)
d76c62
d76c62
diff --git a/src/qemu/qemu_virtiofs.c b/src/qemu/qemu_virtiofs.c
d76c62
index b47e19a562..d9ace4aafe 100644
d76c62
--- a/src/qemu/qemu_virtiofs.c
d76c62
+++ b/src/qemu/qemu_virtiofs.c
d76c62
@@ -56,7 +56,7 @@ qemuVirtioFSCreateSocketFilename(virDomainObjPtr vm,
d76c62
 {
d76c62
     qemuDomainObjPrivatePtr priv = vm->privateData;
d76c62
 
d76c62
-    return virFileBuildPath(priv->libDir, alias, "-virtiofsd.sock");
d76c62
+    return virFileBuildPath(priv->libDir, alias, "-fs.sock");
d76c62
 }
d76c62
 
d76c62
 
d76c62
-- 
d76c62
2.26.0
d76c62