aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2019-09-05 07:17:52 -0400
committerFelipe Franciosi <felipe@nutanix.com>2019-09-05 16:45:35 +0100
commitab6e09fb512a60a422b2f6dcb54566d5a92bd157 (patch)
tree026ebc9b7f3809e479384899a18672e18ddbe23a /README.md
parent8f12102a9481f244087d077409a65d18a19eee5f (diff)
downloadlibvfio-user-ab6e09fb512a60a422b2f6dcb54566d5a92bd157.zip
libvfio-user-ab6e09fb512a60a422b2f6dcb54566d5a92bd157.tar.gz
libvfio-user-ab6e09fb512a60a422b2f6dcb54566d5a92bd157.tar.bz2
use numerical steps in example explanation
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md42
1 files changed, 21 insertions, 21 deletions
diff --git a/README.md b/README.md
index 176ee05..c561fc7 100644
--- a/README.md
+++ b/README.md
@@ -120,29 +120,29 @@ Running gpio-pci-idio-16
1. First, follow the instructions to build and load muser.
2. Then, start the gpio-pci-idio-16 device emulation:
-
- # echo 00000000-0000-0000-0000-000000000000 > /sys/class/muser/muser/mdev_supported_types/muser-1/create
- # build/dbg/samples/gpio-pci-idio-16 00000000-0000-0000-0000-000000000000
-
+```
+# echo 00000000-0000-0000-0000-000000000000 > /sys/class/muser/muser/mdev_supported_types/muser-1/create
+# build/dbg/samples/gpio-pci-idio-16 00000000-0000-0000-0000-000000000000
+```
3. Finally, start the VM adding the command line explained earlier and then
execute:
-
- # insmod gpio-pci-idio-16.ko
- # cat /sys/class/gpio/gpiochip480/base > /sys/class/gpio/export
- # for ((i=0;i<12;i++)); do cat /sys/class/gpio/OUT0/value; done
- 0
- 0
- 0
- 1
- 1
- 1
- 0
- 0
- 0
- 1
- 1
- 1
-
+```
+# insmod gpio-pci-idio-16.ko
+# cat /sys/class/gpio/gpiochip480/base > /sys/class/gpio/export
+# for ((i=0;i<12;i++)); do cat /sys/class/gpio/OUT0/value; done
+0
+0
+0
+1
+1
+1
+0
+0
+0
+1
+1
+1
+```
Future Work
===========