|
From: | Jiahuan Zhang |
Subject: | [Qemu-arm] Pipe implementation for Windows Host |
Date: | Wed, 22 Feb 2017 15:48:59 +0100 |
Create a two-way connection to the guest. The behaviour differs slightly between Windows hosts and other hosts:
On Windows, a single duplex pipe will be created at \\.pipe\path.
On other hosts, 2 pipes will be created called path.in and path.out. Data written to path.in will be received by the guest. Data written by the guest can be read from path.out. QEMU will not create these fifos, and requires them to be present.
path forms part of the pipe path as described above. path is required.
MINGW64 ~/test
$ mkfifo pipe
MINGW64 ~/test
$ ls -al pipe
prw-rw-rw- 1 qzj Domain Users 0 Jan 16 17:22 pipe
MINGW64 ~/test
$ ~/qemu/build/arm-softmmu/qemu-system-arm.exe -M versatilepb -kernel test.bin -nographic -serial pipe:/tmp/serial5
QEMU 2.8.50 monitor - type 'help' for more information
(qemu) C:\msys64\home\qemu\build\arm-softmmu\qemu-system-arm.exe: -serial pipe;C:\msys64\tmp\serial5.lnk: could not conect serial device to character backend 'pipe;C:\msys64\tmp\serial5.lnk'
[Prev in Thread] | Current Thread | [Next in Thread] |