|
|
22c213 |
From 77eb3258e76a1ac240503572d4f41d45cb832ba2 Mon Sep 17 00:00:00 2001
|
|
|
22c213 |
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
|
|
|
22c213 |
Date: Mon, 27 Jan 2020 19:01:09 +0100
|
|
|
22c213 |
Subject: [PATCH 038/116] virtiofsd: add vhost-user.json file
|
|
|
22c213 |
MIME-Version: 1.0
|
|
|
22c213 |
Content-Type: text/plain; charset=UTF-8
|
|
|
22c213 |
Content-Transfer-Encoding: 8bit
|
|
|
22c213 |
|
|
|
22c213 |
RH-Author: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
22c213 |
Message-id: <20200127190227.40942-35-dgilbert@redhat.com>
|
|
|
22c213 |
Patchwork-id: 93490
|
|
|
22c213 |
O-Subject: [RHEL-AV-8.2 qemu-kvm PATCH 034/112] virtiofsd: add vhost-user.json file
|
|
|
22c213 |
Bugzilla: 1694164
|
|
|
22c213 |
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
|
|
|
22c213 |
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
|
22c213 |
RH-Acked-by: Sergio Lopez Pascual <slp@redhat.com>
|
|
|
22c213 |
|
|
|
22c213 |
From: Stefan Hajnoczi <stefanha@redhat.com>
|
|
|
22c213 |
|
|
|
22c213 |
Install a vhost-user.json file describing virtiofsd. This allows
|
|
|
22c213 |
libvirt and other management tools to enumerate vhost-user backend
|
|
|
22c213 |
programs.
|
|
|
22c213 |
|
|
|
22c213 |
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
|
22c213 |
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
|
|
|
22c213 |
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
22c213 |
(cherry picked from commit 315616ed50ba15a5d7236ade8a402a93898202de)
|
|
|
22c213 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
22c213 |
---
|
|
|
22c213 |
.gitignore | 1 +
|
|
|
22c213 |
Makefile | 1 +
|
|
|
22c213 |
tools/virtiofsd/50-qemu-virtiofsd.json.in | 5 +++++
|
|
|
22c213 |
3 files changed, 7 insertions(+)
|
|
|
22c213 |
create mode 100644 tools/virtiofsd/50-qemu-virtiofsd.json.in
|
|
|
22c213 |
|
|
|
22c213 |
diff --git a/.gitignore b/.gitignore
|
|
|
22c213 |
index aefad32..d7a4f99 100644
|
|
|
22c213 |
--- a/.gitignore
|
|
|
22c213 |
+++ b/.gitignore
|
|
|
22c213 |
@@ -6,6 +6,7 @@
|
|
|
22c213 |
/config-target.*
|
|
|
22c213 |
/config.status
|
|
|
22c213 |
/config-temp
|
|
|
22c213 |
+/tools/virtiofsd/50-qemu-virtiofsd.json
|
|
|
22c213 |
/elf2dmp
|
|
|
22c213 |
/trace-events-all
|
|
|
22c213 |
/trace/generated-events.h
|
|
|
22c213 |
diff --git a/Makefile b/Makefile
|
|
|
22c213 |
index 1526775..0e9755d 100644
|
|
|
22c213 |
--- a/Makefile
|
|
|
22c213 |
+++ b/Makefile
|
|
|
22c213 |
@@ -332,6 +332,7 @@ endif
|
|
|
22c213 |
|
|
|
22c213 |
ifdef CONFIG_LINUX
|
|
|
22c213 |
HELPERS-y += virtiofsd$(EXESUF)
|
|
|
22c213 |
+vhost-user-json-y += tools/virtiofsd/50-qemu-virtiofsd.json
|
|
|
22c213 |
endif
|
|
|
22c213 |
|
|
|
22c213 |
# Sphinx does not allow building manuals into the same directory as
|
|
|
22c213 |
diff --git a/tools/virtiofsd/50-qemu-virtiofsd.json.in b/tools/virtiofsd/50-qemu-virtiofsd.json.in
|
|
|
22c213 |
new file mode 100644
|
|
|
22c213 |
index 0000000..9bcd86f
|
|
|
22c213 |
--- /dev/null
|
|
|
22c213 |
+++ b/tools/virtiofsd/50-qemu-virtiofsd.json.in
|
|
|
22c213 |
@@ -0,0 +1,5 @@
|
|
|
22c213 |
+{
|
|
|
22c213 |
+ "description": "QEMU virtiofsd vhost-user-fs",
|
|
|
22c213 |
+ "type": "fs",
|
|
|
22c213 |
+ "binary": "@libexecdir@/virtiofsd"
|
|
|
22c213 |
+}
|
|
|
22c213 |
--
|
|
|
22c213 |
1.8.3.1
|
|
|
22c213 |
|