aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2021-12-01 10:45:25 +0000
committerGitHub <noreply@github.com>2021-12-01 10:45:25 +0000
commit96b3d14160ee20bfc59d29383ffdabacf2f77bdf (patch)
treed8eb43f50b38cbb55eb51b7a20ae1fb89244dcba /README.md
parentf2dd09649e31540996fa4e9497693d1b27bc88fe (diff)
downloadlibvfio-user-96b3d14160ee20bfc59d29383ffdabacf2f77bdf.zip
libvfio-user-96b3d14160ee20bfc59d29383ffdabacf2f77bdf.tar.gz
libvfio-user-96b3d14160ee20bfc59d29383ffdabacf2f77bdf.tar.bz2
add SPDK instructions (#632)
And move them to separate file. Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> Reviewed-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 5 insertions, 21 deletions
diff --git a/README.md b/README.md
index 2c7062c..f8060ba 100644
--- a/README.md
+++ b/README.md
@@ -236,6 +236,11 @@ the emulated GPIO device's pins:
cat /sys/class/gpio/gpiochip480/base > /sys/class/gpio/export
for ((i=0;i<12;i++)); do cat /sys/class/gpio/OUT0/value; done
+Other devices based on libvfio-user:
+
+* nvmf/vfio-user: a virtual NVMe controller using SPDK, see
+ [docs/spdk.md](docs/spdk.md) for more details.
+
libvirt
-------
@@ -257,27 +262,6 @@ libvirt
</qemu:commandline>
-nvmf/vfio-user
---------------
-
-[SPDK v21.01](https://github.com/spdk/spdk/releases/tag/v21.01) added
-experimental support for a virtual NVMe controller. The controller can be
-used with the same command line as the one used for GPIO.
-
-To use the nvmf/vfio-user target with a libvirt quest, the guest RAM must be
-backed by hugepages:
-
- <memoryBacking>
- <hugepages>
- <page size='2048' unit='KiB'/>
- </hugepages>
- <source type='memfd'/>
- <access mode='shared'/>
- </memoryBacking>
-
-Becasue SPDK must be run as root, either fix the vfio-user socket permissions
-or configure libvirt to run QEMU as root.
-
Testing
=======