From 997d67be8371b139ade88294a1dd3b29ead64e7d Mon Sep 17 00:00:00 2001 From: Jun Yabuki Date: Sat, 7 Jun 2025 06:17:39 +0900 Subject: [PATCH] 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 --- vhost-device-gpio/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vhost-device-gpio/README.md b/vhost-device-gpio/README.md index 0daa190..ed7fe7c 100644 --- a/vhost-device-gpio/README.md +++ b/vhost-device-gpio/README.md @@ -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.