block/raw-posix: Build fix for O_ASYNC
commitfdf263f63fad86b04032da86686a952edfe4644f
authorAndreas Färber <andreas.faerber@web.de>
Thu, 31 Jan 2013 14:40:14 +0000 (31 15:40 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 1 Feb 2013 14:11:12 +0000 (1 15:11 +0100)
treea548859d3e50d2c2e45f055b25d36c17ba187838
parentcd9234757528a1b7155a75ec2eedb375f71e99fa
block/raw-posix: Build fix for O_ASYNC

Commit eeb6b45d48800e96f67ef2a5c80332557fd45ddb (block: raw-posix image
file reopen) broke the build on OpenIndiana.

illumos has no O_ASYNC. Exclude it from flags to be compared
and instead assert that it is not set where defined.

Cf. e61ab1da7e98357da47c54d8f893b9bd6ff2f7f9 for qemu-ga.

Cc: qemu-stable@nongnu.org (1.3.x)
Cc: Jeff Cody <jcody@redhat.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/raw-posix.c