|
| From: | Gerd Hoffmann |
| Subject: | [Qemu-devel] Re: [PATCH 5/5] virtio-console: Throttle virtio-serial-bus if we can't consume any more guest data |
| Date: | Tue, 06 Apr 2010 09:45:00 +0200 |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 |
Hi,
+/* Callback function when the timer expires */
+static void unthrottle_port(VirtConsole *vcon)
+{
Why a timer? qemu_set_fd_handler(fd, NULL, write_callback, opaque) ? cheers, Gerd
| [Prev in Thread] | Current Thread | [Next in Thread] |