[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 030/109] virtiofsd: add vhost-user.json file
From: |
Dr. David Alan Gilbert (git) |
Subject: |
[PATCH v2 030/109] virtiofsd: add vhost-user.json file |
Date: |
Tue, 21 Jan 2020 12:23:14 +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>
Reviewed-by: Daniel P. Berrangé <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 efad605e1a..bc0a035f9c 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 b4ffb0c3d9..a87e06ad93 100644
--- a/Makefile
+++ b/Makefile
@@ -329,6 +329,7 @@ endif
ifdef CONFIG_LINUX
HELPERS-y += virtiofsd$(EXESUF)
+vhost-user-json-y += tools/virtiofsd/50-qemu-virtiofsd.json
endif
# Sphinx does not allow building manuals into the same directory as
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.24.1
- [PATCH v2 019/109] virtiofsd: Add main virtio loop, (continued)
- [PATCH v2 019/109] virtiofsd: Add main virtio loop, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 022/109] virtiofsd: Poll kick_fd for queue, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 021/109] virtiofsd: Start queue threads, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 023/109] virtiofsd: Start reading commands from queue, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 025/109] virtiofsd: Keep track of replies, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 024/109] virtiofsd: Send replies to messages, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 026/109] virtiofsd: Add Makefile wiring for virtiofsd contrib, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 027/109] virtiofsd: Fast path for virtio read, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 028/109] virtiofsd: add --fd=FDNUM fd passing option, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 029/109] virtiofsd: make -f (foreground) the default, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 030/109] virtiofsd: add vhost-user.json file,
Dr. David Alan Gilbert (git) <=
- [PATCH v2 031/109] virtiofsd: add --print-capabilities option, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 033/109] virtiofsd: passthrough_ll: create new files in caller's context, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 032/109] virtiofs: Add maintainers entry, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 034/109] virtiofsd: passthrough_ll: add lo_map for ino/fh indirection, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 035/109] virtiofsd: passthrough_ll: add ino_map to hide lo_inode pointers, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 036/109] virtiofsd: passthrough_ll: add dirp_map to hide lo_dirp pointers, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 037/109] virtiofsd: passthrough_ll: add fd_map to hide file descriptors, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 038/109] virtiofsd: passthrough_ll: add fallback for racy ops, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 039/109] virtiofsd: validate path components, Dr. David Alan Gilbert (git), 2020/01/21
- [PATCH v2 040/109] virtiofsd: Plumb fuse_bufvec through to do_write_buf, Dr. David Alan Gilbert (git), 2020/01/21