[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 28/30] virtiofsd: add vhost-user.json file
From: |
Dr. David Alan Gilbert (git) |
Subject: |
[PATCH 28/30] virtiofsd: add vhost-user.json file |
Date: |
Mon, 21 Oct 2019 11:58:30 +0100 |
From: Stefan Hajnoczi <address@hidden>
Install a vhost-user.json file describing virtiofsd. This allows
libvirt and other management tools to enumerate vhost-user backend
programs.
Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
---
.gitignore | 1 +
Makefile | 1 +
contrib/virtiofsd/50-qemu-virtiofsd.json.in | 5 +++++
3 files changed, 7 insertions(+)
create mode 100644 contrib/virtiofsd/50-qemu-virtiofsd.json.in
diff --git a/.gitignore b/.gitignore
index 7de868d1ea..e9f621be06 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@
/config-target.*
/config.status
/config-temp
+/contrib/virtiofsd/50-qemu-virtiofsd.json
/elf2dmp
/trace-events-all
/trace/generated-events.h
diff --git a/Makefile b/Makefile
index 694a871384..20531a32ae 100644
--- a/Makefile
+++ b/Makefile
@@ -317,6 +317,7 @@ HELPERS-$(call land,$(CONFIG_SOFTMMU),$(CONFIG_LINUX)) =
qemu-bridge-helper$(EXE
ifdef CONFIG_LINUX
HELPERS-y += virtiofsd$(EXESUF)
+vhost-user-json-y += contrib/virtiofsd/50-qemu-virtiofsd.json
ifdef CONFIG_VIRGL
ifdef CONFIG_GBM
diff --git a/contrib/virtiofsd/50-qemu-virtiofsd.json.in
b/contrib/virtiofsd/50-qemu-virtiofsd.json.in
new file mode 100644
index 0000000000..9bcd86f8dc
--- /dev/null
+++ b/contrib/virtiofsd/50-qemu-virtiofsd.json.in
@@ -0,0 +1,5 @@
+{
+ "description": "QEMU virtiofsd vhost-user-fs",
+ "type": "fs",
+ "binary": "@libexecdir@/virtiofsd"
+}
--
2.23.0
- [PATCH 22/30] virtiofsd: Send replies to messages, (continued)
- [PATCH 22/30] virtiofsd: Send replies to messages, Dr. David Alan Gilbert (git), 2019/10/21
- [PATCH 21/30] virtiofsd: Start reading commands from queue, Dr. David Alan Gilbert (git), 2019/10/21
- [PATCH 27/30] virtiofsd: make -f (foreground) the default, Dr. David Alan Gilbert (git), 2019/10/21
- [PATCH 24/30] virtiofsd: Add Makefile wiring for virtiofsd contrib, Dr. David Alan Gilbert (git), 2019/10/21
- [PATCH 26/30] virtiofsd: add --fd=FDNUM fd passing option, Dr. David Alan Gilbert (git), 2019/10/21
- [PATCH 25/30] virtiofsd: Fast path for virtio read, Dr. David Alan Gilbert (git), 2019/10/21
- [PATCH 29/30] virtiofsd: add --print-capabilities option, Dr. David Alan Gilbert (git), 2019/10/21
- [PATCH 30/30] virtiofs: Add maintainers entry, Dr. David Alan Gilbert (git), 2019/10/21
- [PATCH 28/30] virtiofsd: add vhost-user.json file,
Dr. David Alan Gilbert (git) <=
- Re: [PATCH 00/30] virtiofs daemon (base), no-reply, 2019/10/21
- Re: [PATCH 00/30] virtiofs daemon (base), Dr. David Alan Gilbert, 2019/10/21
- Re: [PATCH 00/30] virtiofs daemon (base), Michael S. Tsirkin, 2019/10/24
- Re: [PATCH 00/30] virtiofs daemon (base), Dr. David Alan Gilbert, 2019/10/24
- Re: [PATCH 00/30] virtiofs daemon (base), Daniel P . Berrangé, 2019/10/24
- Re: [PATCH 00/30] virtiofs daemon (base), Dr. David Alan Gilbert, 2019/10/24
- Re: [PATCH 00/30] virtiofs daemon (base), Michael S. Tsirkin, 2019/10/24
- Re: [PATCH 00/30] virtiofs daemon (base), Dr. David Alan Gilbert, 2019/10/24
- Re: [PATCH 00/30] virtiofs daemon (base), Daniel P . Berrangé, 2019/10/24
- Re: [PATCH 00/30] virtiofs daemon (base), Dr. David Alan Gilbert, 2019/10/24