<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/platform/goldfish/Kconfig, branch v3.11</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>goldfish: add QEMU pipe driver</title>
<updated>2013-01-24T21:49:34+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@android.com</email>
</author>
<published>2013-01-21T23:48:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c89f2750e9845aa115ca30c062edd569da619cad'/>
<id>c89f2750e9845aa115ca30c062edd569da619cad</id>
<content type='text'>
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: David 'Digit' Turner &lt;digit@android.com&gt;
[Added support for parameter buffers for speed]
igned-off-by: Xin, Xiaohui &lt;xiaohui.xin@intel.com&gt;
Signed-off-by: Jiang, Yunhong &lt;yunhong.jiang@intel.com&gt;
Signed-off-by: Nakajima, Jun &lt;jun.nakajima@intel.com&gt;
[Ported to 3.6]
Signed-off-by: Tom Keel &lt;thomas.keel@intel.com&gt;
[Ported to 3.7, moved to platform/goldfish]
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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: David 'Digit' Turner &lt;digit@android.com&gt;
[Added support for parameter buffers for speed]
igned-off-by: Xin, Xiaohui &lt;xiaohui.xin@intel.com&gt;
Signed-off-by: Jiang, Yunhong &lt;yunhong.jiang@intel.com&gt;
Signed-off-by: Nakajima, Jun &lt;jun.nakajima@intel.com&gt;
[Ported to 3.6]
Signed-off-by: Tom Keel &lt;thomas.keel@intel.com&gt;
[Ported to 3.7, moved to platform/goldfish]
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
