]> Git Repo - qemu.git/commitdiff
virtiofsd: add vhost-user.json file
authorStefan Hajnoczi <[email protected]>
Tue, 27 Aug 2019 09:54:37 +0000 (10:54 +0100)
committerDr. David Alan Gilbert <[email protected]>
Thu, 23 Jan 2020 16:41:36 +0000 (16:41 +0000)
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 <[email protected]>
Reviewed-by: Daniel P. BerrangĂ© <[email protected]>
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
.gitignore
Makefile
tools/virtiofsd/50-qemu-virtiofsd.json.in [new file with mode: 0644]

index efad605e1adffaa3ad1547ff1f591e7b81c96d90..bc0a035f9cc098bd1cdc7f9f17d478d44205060f 100644 (file)
@@ -6,6 +6,7 @@
 /config-target.*
 /config.status
 /config-temp
+/tools/virtiofsd/50-qemu-virtiofsd.json
 /elf2dmp
 /trace-events-all
 /trace/generated-events.h
index ef1e2155a7d543202352318e576ee2af8cd3f198..2f81271ee7845a82e7bd228812e35a59c58e4113 100644 (file)
--- 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 (file)
index 0000000..9bcd86f
--- /dev/null
@@ -0,0 +1,5 @@
+{
+  "description": "QEMU virtiofsd vhost-user-fs",
+  "type": "fs",
+  "binary": "@libexecdir@/virtiofsd"
+}
This page took 0.029221 seconds and 4 git commands to generate.