mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2026-01-03 07:02:17 +00:00
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 <Yabuki.Jun@dx.MitsubishiElectric.co.jp>
This commit is contained in:
parent
99233823e8
commit
997d67be83
@ -52,7 +52,7 @@ asking for trouble you can enable the "mock_gpio" feature in your build:
|
||||
|
||||
You can then enable simulated GPIOs using the 's' prefix:
|
||||
|
||||
--device-list s4,s8
|
||||
--device-list s4:s8
|
||||
|
||||
Which will create two gpio devices, the first with 4 pins and the
|
||||
second with 8. By default updates are display via env logger:
|
||||
@ -71,7 +71,7 @@ The daemon should be started first:
|
||||
|
||||
::
|
||||
|
||||
host# vhost-device-gpio --socket-path=gpio.sock --socket-count=1 --device-list 0:3
|
||||
host# vhost-device-gpio --socket-path=gpio.sock --socket-count=2 --device-list 0:3
|
||||
|
||||
The QEMU invocation needs to create a chardev socket the device can
|
||||
use to communicate as well as share the guests memory over a memfd.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user