mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
docs: fix the description of host/guest in vsock
In Connecting from Host to Guest section, the host/guest are misused, this patch fix that. Signed-off-by: Yi Wang <foxywang@tencent.com>
This commit is contained in:
parent
274f1aa2e7
commit
83b1a30f29
@ -50,11 +50,11 @@ The examples use __socat__ `>=1.7.4` to illustrate the VSOCK functionality. Howe
|
||||
|
||||
### Connecting from Host to Guest
|
||||
|
||||
The host starts to listen on the defined port:
|
||||
The guest starts to listen on the defined port:
|
||||
|
||||
`$ socat - VSOCK-LISTEN:1234`
|
||||
|
||||
Once the host is listening, the guest can send data:
|
||||
Once the guest is listening, the host can send data:
|
||||
|
||||
`echo -e "CONNECT 1234\\nHello from host!" | socat - UNIX-CONNECT:/tmp/ch.vsock
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user