• Be more friendly when signalfd() fails, and also add configure checks to detect
    that syscall(SYS_signalfd) actually works.  malc pointed out that some installs
    do not have /usr/include/linux headers that are in sync with the glibc headers
    so why SYS_signalfd is defined, it's #defined to _NR_signalfd which is not
    defined in the /usr/include/linux header.
    
    While this is a distro bug, it doesn't hurt to do a more thorough job in
    detection.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5334 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »

  • __GLIBC_PREREQ is defined in such a way that the ! cannot be used in front of
    it on FreeBSD.  Also, -lpthread is not implied by the build and we definitely
    use it for compatfd support.
    
    While at it, I added a default initialization for posix-aio that seems to
    perform well in our testing.
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5322 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »