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:
Xuewei Niu 2025-02-11 10:16:08 +08:00 committed by Viresh Kumar
parent 8e7b710931
commit 2c8440a99f

View File

@ -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 \
...
```