Skip to content

Commit 997d67b

Browse files
jun-yabukistefano-garzarella
authored andcommitted
vhost-device-gpio: Fix typos in README
In the examples of using vhost-device-gpio, the options should be --device-list=s4:s8 instead of --device-list=s4,s8, and --socket-count=2 instead of --socket-count=1. Signed-off-by: Jun Yabuki <[email protected]>
1 parent 9923382 commit 997d67b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vhost-device-gpio/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ asking for trouble you can enable the "mock_gpio" feature in your build:
5252

5353
You can then enable simulated GPIOs using the 's' prefix:
5454

55-
--device-list s4,s8
55+
--device-list s4:s8
5656

5757
Which will create two gpio devices, the first with 4 pins and the
5858
second with 8. By default updates are display via env logger:
@@ -71,7 +71,7 @@ The daemon should be started first:
7171

7272
::
7373

74-
host# vhost-device-gpio --socket-path=gpio.sock --socket-count=1 --device-list 0:3
74+
host# vhost-device-gpio --socket-path=gpio.sock --socket-count=2 --device-list 0:3
7575

7676
The QEMU invocation needs to create a chardev socket the device can
7777
use to communicate as well as share the guests memory over a memfd.

0 commit comments

Comments
 (0)