On Fri, Apr 11, 2008 at 01:59:35PM -0500, Anthony Liguori wrote:
> >-static void enable_sigio_timer(int fd)
> >+static void enable_sigio(int fd)
> >+{
> >+    struct sigaction act;
> >+
> >+    sigfillset(&act.sa_mask);
> >+    act.sa_flags = 0;
> >+    act.sa_handler = host_io_handler;
> >+
> >+    sigaction(SIGIO, &act, NULL);
> >+    fcntl(fd, F_SETFL, O_ASYNC);

This should be O_ASYNC|O_NONBLOCK, if there is interesting
in taking the patch.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to