Re: [Qemu-devel] [PATCH V2 04/12] hw/9pfs: Open and create files
On Tue, Nov 15, 2011 at 11:57 AM, M. Mohan Kumar wrote: > +static void send_fd(int sockfd, int fd) > +{ > + struct msghdr msg = { }; > + struct iovec iov; > + struct cmsghdr *cmsg; > + int retval, data; > + union MsgControl msg_control; > + > + iov.iov_base = &data; > + iov.io
[Qemu-devel] [PATCH V2 04/12] hw/9pfs: Open and create files
Add interfaces to open and create files for proxy file system driver. Signed-off-by: M. Mohan Kumar --- fsdev/virtfs-proxy-helper.c | 136 +++- hw/9pfs/virtio-9p-proxy.c | 180 +-- hw/9pfs/virtio-9p-proxy.h |9 ++ 3 fi