diff options
| author | Alex Bligh <alex@alex.org.uk> | 2013-08-29 17:48:16 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-09-06 15:25:08 +0200 |
| commit | a94a3fac19c37c093203e9e01c3a54e92e1dc701 (patch) | |
| tree | 8a348580d81e0b6bcf800c73d3e3f683de7930a1 /qemu-io.c | |
| parent | 68dc036488dfea170627a55e6ee3dfd7f2c2063e (diff) | |
| download | focaccia-qemu-a94a3fac19c37c093203e9e01c3a54e92e1dc701.tar.gz focaccia-qemu-a94a3fac19c37c093203e9e01c3a54e92e1dc701.zip | |
aio / timers: fix build of test/test-aio.c on non-linux platforms
tests/test-aio.c used pipe2 which is Linux only. Use qemu_pipe and qemu_set_nonblock for portabillity. Addition of O_CLOEXEC is a harmless bonus. Signed-off-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions