Blob Blame History Raw
From 33bca0809e436c0040aa17d546c2145e5432b023 Mon Sep 17 00:00:00 2001
Message-Id: <33bca0809e436c0040aa17d546c2145e5432b023@dist-git>
From: =?UTF-8?q?J=C3=A1n=20Tomko?= <jtomko@redhat.com>
Date: Tue, 24 Mar 2020 11:30:18 +0100
Subject: [PATCH] qemu: virtiofs: shorten socket filename
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Use just 'fs' instead of 'virtiofsd'.

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

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
(cherry picked from commit 223b370aaa6fcbcbfbd4045fde4ae67e047180ad)
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Message-Id: <ecf76c8829f804dcdb83eeb90f236316a240795e.1585045801.git.jtomko@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
---
 src/qemu/qemu_virtiofs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu_virtiofs.c b/src/qemu/qemu_virtiofs.c
index b47e19a562..d9ace4aafe 100644
--- a/src/qemu/qemu_virtiofs.c
+++ b/src/qemu/qemu_virtiofs.c
@@ -56,7 +56,7 @@ qemuVirtioFSCreateSocketFilename(virDomainObjPtr vm,
 {
     qemuDomainObjPrivatePtr priv = vm->privateData;
 
-    return virFileBuildPath(priv->libDir, alias, "-virtiofsd.sock");
+    return virFileBuildPath(priv->libDir, alias, "-fs.sock");
 }
 
 
-- 
2.26.0