commit | a94a3fac19c37c093203e9e01c3a54e92e1dc701 | [log] [tgz] |
---|---|---|
author | Alex Bligh <alex@alex.org.uk> | Thu Aug 29 17:48:16 2013 +0100 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Fri Sep 06 15:25:08 2013 +0200 |
tree | 8a348580d81e0b6bcf800c73d3e3f683de7930a1 | |
parent | 68dc036488dfea170627a55e6ee3dfd7f2c2063e [diff] |
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>