Relax posix-aio restrictions on newer glibcs
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 23 Sep 2008 02:57:00 +0000 (02:57 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 23 Sep 2008 02:57:00 +0000 (02:57 +0000)
commita01b2ddb3b774703738c4c7532a357e83d05912a
tree747568f127172135186307a713e7010c96a4cd61
parent3aecea2c533cd8e035f5e7d00501724c884f5ffa
Relax posix-aio restrictions on newer glibcs

RedHat 9 shipped glibc 2.3.  Modern versions of glibc do not have the aio thread
exit issue that the comment references.  This patch adjusts the check to only
limit aio_init on glibc versions < 2.4.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5304 c046a42c-6fe2-441c-8c8c-71466251a162
block-raw-posix.c