mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-26 14:41:23 +00:00
vhost-device-console: Fix a typo in README
In the example of using `vhost-user-console-pci`, the id should be `con0` instead of `con`. Signed-off-by: Xuewei Niu <niuxuewei.nxw@antgroup.com>
This commit is contained in:
parent
8e7b710931
commit
2c8440a99f
@ -94,7 +94,7 @@ host# qemu-system \
|
||||
<normal QEMU options> \
|
||||
-machine <machine options>,memory-backend=mem0 \
|
||||
-object memory-backend-memfd,id=mem0,size=<Guest RAM size> \ # size == -m size
|
||||
-chardev socket,path=/tmp/console.sock0,id=con \
|
||||
-chardev socket,path=/tmp/console.sock0,id=con0 \
|
||||
-device vhost-user-console-pci,chardev=con0,id=console \
|
||||
...
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user