Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c89f2750 authored by David 'Digit' Turner's avatar David 'Digit' Turner Committed by Greg Kroah-Hartman
Browse files

goldfish: add QEMU pipe driver



A QEMU pipe is a very fast communication channel between the
guest system and the emulator. Usage from the guest is simply
something like;

  // connect to special device
  fd = open("/dev/qemu_pipe", O_RDWR);

  // tell which service we want to talk to (must be zero-terminated)
  write(fd, "pipeName", strlen("pipeName")+1);

  // do read()/write() through fd now
  ...

  // close channel
  close(fd);

Signed-off-by: default avatarDavid 'Digit' Turner <digit@android.com>
[Added support for parameter buffers for speed]
igned-off-by: default avatarXin, Xiaohui <xiaohui.xin@intel.com>
Signed-off-by: default avatarJiang, Yunhong <yunhong.jiang@intel.com>
Signed-off-by: default avatarNakajima, Jun <jun.nakajima@intel.com>
[Ported to 3.6]
Signed-off-by: default avatarTom Keel <thomas.keel@intel.com>
[Ported to 3.7, moved to platform/goldfish]
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e809c22b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment