qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 3/5] char: Add framework for a 'write unblocked'


From: Gerd Hoffmann
Subject: [Qemu-devel] Re: [PATCH 3/5] char: Add framework for a 'write unblocked' callback
Date: Tue, 11 Jan 2011 15:43:12 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Red Hat/3.1.7-3.el6_0 Thunderbird/3.1.7

  Hi,

@@ -60,6 +60,9 @@ struct CharDriverState {
      IOEventHandler *chr_event;
      IOCanReadHandler *chr_can_read;
      IOReadHandler *chr_read;
+    IOHandler *chr_write_unblocked;
+    void (*update_fd_handlers)(struct CharDriverState *chr,
+                               bool poll_out);

I think you don't need that callback in the first place if you are able to just enable/disable the handlers for a file handle.

cheers,
  Gerd




reply via email to

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