qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [4341] qemu: generate signals on tap I/O


From: Anders
Subject: Re: [Qemu-devel] [4341] qemu: generate signals on tap I/O
Date: Tue, 06 May 2008 00:06:43 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

Aurelien Jarno wrote:
--- trunk/vl.c  2008-05-05 21:26:31 UTC (rev 4340)
+++ trunk/vl.c  2008-05-05 21:26:43 UTC (rev 4341)
@@ -4030,6 +4030,7 @@
     if (!s)
         return NULL;
     s->fd = fd;
+    enable_sigio_timer(fd);
     s->vc = qemu_new_vlan_client(vlan, tap_receive, NULL, s);
     qemu_set_fd_handler(s->fd, tap_send, NULL, s);
     snprintf(s->vc->info_str, sizeof(s->vc->info_str), "tap: fd=%d", fd)

Hm, I think this will break on BSD, as the function is only available in Linux?

I posted a more complete implementation a few weeks ago, anything wrong with it?

http://thread.gmane.org/gmane.comp.emulators.qemu/24567


Cheers,
Anders.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]