1. 12 6月, 2015 2 次提交
    • F
      l2tpv3: Drop l2tpv3_can_send · 95b1416a
      Fam Zheng 提交于
      This callback is called by main loop before polling s->fd, if it returns
      false, the fd will not be polled in this iteration.
      
      This is redundant with checks inside read callback. After this patch,
      the data will be copied from s->fd to s->msgvec when it arrives. If the
      device can't receive, it will be queued to incoming_queue, and when the
      device status changes, this queue will be flushed.
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Message-id: 1433400324-7358-4-git-send-email-famz@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      95b1416a
    • F
      stubs: Add qemu_set_fd_handler · 0bc12c4f
      Fam Zheng 提交于
      Some qemu_set_fd_handler2 stub callers will be converted to
      call qemu_set_fd_handler, add this stub for them before making the
      change.
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Message-id: 1433400324-7358-2-git-send-email-famz@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      0bc12c4f
  2. 11 6月, 2015 38 次提交