]> git.proxmox.com Git - mirror_qemu.git/commit - net/tap.c
Change qemu_set_fd_handler2(..., NULL, ...) to qemu_set_fd_handler
authorFam Zheng <famz@redhat.com>
Thu, 4 Jun 2015 06:45:18 +0000 (14:45 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 12 Jun 2015 12:26:21 +0000 (13:26 +0100)
commit82e1cc4bf91a2e1c3b62297b10b0ab1d93adfc45
treef7c9e240735dca99283f304f2843329d188adb71
parenta90a7425cf592a3afeff3eaf32f543b83050ee5c
Change qemu_set_fd_handler2(..., NULL, ...) to qemu_set_fd_handler

Done with following Coccinelle semantic patch, plus manual cosmetic changes in
net/*.c.

    @@
    expression E1, E2, E3, E4;
    @@
    -   qemu_set_fd_handler2(E1, NULL, E2, E3, E4);
    +   qemu_set_fd_handler(E1, E2, E3, E4);

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 1433400324-7358-8-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
16 files changed:
blockdev-nbd.c
main-loop.c
migration/exec.c
migration/fd.c
migration/rdma.c
migration/tcp.c
migration/unix.c
net/l2tpv3.c
net/netmap.c
net/socket.c
net/tap.c
ui/vnc-auth-sasl.c
ui/vnc-auth-vencrypt.c
ui/vnc-ws.c
ui/vnc.c
util/qemu-sockets.c