[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 029/104] virtiofsd: add vhost-user.json file
From: |
Dr. David Alan Gilbert (git) |
Subject: |
[PATCH 029/104] virtiofsd: add vhost-user.json file |
Date: |
Thu, 12 Dec 2019 16:37:49 +0000 |
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>
---
.gitignore | 1 +
Makefile | 1 +
tools/virtiofsd/50-qemu-virtiofsd.json.in | 5 +++++
3 files changed, 7 insertions(+)
create mode 100644 tools/virtiofsd/50-qemu-virtiofsd.json.in
diff --git a/.gitignore b/.gitignore
index 7de868d1ea..c56ec1d122 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@
/config-target.*
/config.status
/config-temp
+/tools/virtiofsd/50-qemu-virtiofsd.json
/elf2dmp
/trace-events-all
/trace/generated-events.h
diff --git a/Makefile b/Makefile
index b7f7019a50..8a5746d8a0 100644
--- a/Makefile
+++ b/Makefile
@@ -323,6 +323,7 @@ HELPERS-$(call land,$(CONFIG_SOFTMMU),$(CONFIG_LINUX)) =
qemu-bridge-helper$(EXE
ifdef CONFIG_LINUX
HELPERS-y += virtiofsd$(EXESUF)
+vhost-user-json-y += tools/virtiofsd/50-qemu-virtiofsd.json
ifdef CONFIG_VIRGL
ifdef CONFIG_GBM
diff --git a/tools/virtiofsd/50-qemu-virtiofsd.json.in
b/tools/virtiofsd/50-qemu-virtiofsd.json.in
new file mode 100644
index 0000000000..9bcd86f8dc
--- /dev/null
+++ b/tools/virtiofsd/50-qemu-virtiofsd.json.in
@@ -0,0 +1,5 @@
+{
+ "description": "QEMU virtiofsd vhost-user-fs",
+ "type": "fs",
+ "binary": "@libexecdir@/virtiofsd"
+}
--
2.23.0
- Re: [PATCH 025/104] virtiofsd: Add Makefile wiring for virtiofsd contrib, (continued)
- [PATCH 024/104] virtiofsd: Keep track of replies, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 026/104] virtiofsd: Fast path for virtio read, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 027/104] virtiofsd: add --fd=FDNUM fd passing option, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 022/104] virtiofsd: Start reading commands from queue, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 023/104] virtiofsd: Send replies to messages, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 030/104] virtiofsd: add --print-capabilities option, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 031/104] virtiofs: Add maintainers entry, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 028/104] virtiofsd: make -f (foreground) the default, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 029/104] virtiofsd: add vhost-user.json file,
Dr. David Alan Gilbert (git) <=
- [PATCH 032/104] virtiofsd: passthrough_ll: create new files in caller's context, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 033/104] virtiofsd: passthrough_ll: add lo_map for ino/fh indirection, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 034/104] virtiofsd: passthrough_ll: add ino_map to hide lo_inode pointers, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 036/104] virtiofsd: passthrough_ll: add fd_map to hide file descriptors, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 037/104] virtiofsd: passthrough_ll: add fallback for racy ops, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 038/104] virtiofsd: validate path components, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 040/104] virtiofsd: Pass write iov's all the way through, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 039/104] virtiofsd: Plumb fuse_bufvec through to do_write_buf, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 035/104] virtiofsd: passthrough_ll: add dirp_map to hide lo_dirp pointers, Dr. David Alan Gilbert (git), 2019/12/12
- [PATCH 041/104] virtiofsd: add fuse_mbuf_iter API, Dr. David Alan Gilbert (git), 2019/12/12