qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5 v2] Provide common methods for exchange FD
@ 2014-01-23  8:27 Lei Li
  2014-01-23  8:27 ` [Qemu-devel] [PATCH 1/5] qemu-fd-exchange: provide common methods for exchange fd Lei Li
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Lei Li @ 2014-01-23  8:27 UTC (permalink / raw)
  To: qemu-devel; +Cc: mohan, Lei Li, pbonzini

This patch series tries to refactor the functions used for 
exchange of FD in current code, provide common methods
for it.

I just tested it through page flipping migration, and tap/
bridge-helper a bit, but have some environment problem on
proxy fs driver. So it'd be appreciated if someone could
help on verifying whether it has impact on it. :)

Please let me know if there is anything needs to be improved.

Thanks


Changes since V1:
  -- Copy right and typo fixes pointed out by Eric.
  -- Don't cast 'char *' to 'int *' from Daniel.
  -- Get rid of local migration part.

Lei Li (5):
  fd-exchange: provide common methods for exchange of fd
  qemu-bridge-helper: replace send_fd with qemu_send_with_fd
  net/tap: replace recv_fd with qemu_recv_with_fd
  virtfs-proxy-helper: replace send_fd with qemu_send_with_fd
  virtio-9p-proxy: replace v9fs_receivefd with qemu_recv_with_fd

 Makefile                    |    2 +-
 fsdev/virtfs-proxy-helper.c |   51 ++++-------------------
 hw/9pfs/virtio-9p-proxy.c   |   60 +-------------------------
 hw/9pfs/virtio-9p-proxy.h   |    5 --
 include/qemu/fd-exchange.h  |   25 +++++++++++
 net/tap.c                   |   40 +----------------
 qemu-bridge-helper.c        |   31 +------------
 util/Makefile.objs          |    1 +
 util/qemu-fd-exchange.c     |   97 +++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 144 insertions(+), 220 deletions(-)
 create mode 100644 include/qemu/fd-exchange.h
 create mode 100644 util/qemu-fd-exchange.c

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-01-23 18:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-23  8:27 [Qemu-devel] [PATCH 0/5 v2] Provide common methods for exchange FD Lei Li
2014-01-23  8:27 ` [Qemu-devel] [PATCH 1/5] qemu-fd-exchange: provide common methods for exchange fd Lei Li
2014-01-23  8:27 ` [Qemu-devel] [PATCH 2/5] qemu-bridge-helper: replace send_fd with qemu_send_with_fd Lei Li
2014-01-23  8:27 ` [Qemu-devel] [PATCH 3/5] net/tap: replace recv_fd with qemu_recv_with_fd Lei Li
2014-01-23  8:27 ` [Qemu-devel] [PATCH 4/5] virtfs-proxy-helper: replace send_fd with qemu_send_with_fd Lei Li
2014-01-23  8:27 ` [Qemu-devel] [PATCH 5/5] virtio-9p-proxy: replace v9fs_receivefd with qemu_recv_with_fd Lei Li
2014-01-23 18:55 ` [Qemu-devel] [PATCH 0/5 v2] Provide common methods for exchange FD Antonios Motakis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).