diff options
author | Juan Quintela <quintela@redhat.com> | 2010-03-11 17:55:39 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-03-19 15:27:27 -0500 |
commit | 7b27a769f139102c906c8d11d844d51dce068a6a (patch) | |
tree | e0770a5a7d8fdf7c60c6fcca1bcfde4b2b7d7504 /vl.c | |
parent | 1c39e2a2e4f9a55065a58a28aa2457f80fc3073e (diff) | |
download | qemu-7b27a769f139102c906c8d11d844d51dce068a6a.zip qemu-7b27a769f139102c906c8d11d844d51dce068a6a.tar.gz qemu-7b27a769f139102c906c8d11d844d51dce068a6a.tar.bz2 |
rename IOCanRWHandler to IOCanReadHandler
It was always only used for reads
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1550,7 +1550,7 @@ void pcmcia_info(Monitor *mon) typedef struct IOHandlerRecord { int fd; - IOCanRWHandler *fd_read_poll; + IOCanReadHandler *fd_read_poll; IOHandler *fd_read; IOHandler *fd_write; int deleted; @@ -1567,7 +1567,7 @@ static QLIST_HEAD(, IOHandlerRecord) io_handlers = /* XXX: fd_read_poll should be suppressed, but an API change is necessary in the character devices to suppress fd_can_read(). */ int qemu_set_fd_handler2(int fd, - IOCanRWHandler *fd_read_poll, + IOCanReadHandler *fd_read_poll, IOHandler *fd_read, IOHandler *fd_write, void *opaque) |