Re: [RFC 2/5] VSOCK: Introduce virtio-vsock-common.ko

2013-06-28 Thread Asias He
On Thu, Jun 27, 2013 at 01:34:30PM +0300, Michael S. Tsirkin wrote: On Thu, Jun 27, 2013 at 04:00:01PM +0800, Asias He wrote: This module contains the common code and header files for the following virtio-vsock and virtio-vhost kernel modules. Signed-off-by: Asias He as...@redhat.com

Re: [RFC 2/5] VSOCK: Introduce virtio-vsock-common.ko

2013-06-28 Thread David Miller
From: Asias He as...@redhat.com Date: Thu, 27 Jun 2013 16:00:01 +0800 +static void +virtio_transport_recv_dgram(struct sock *sk, + struct virtio_vsock_pkt *pkt) ... + memcpy(skb-data, pkt, sizeof(*pkt)); + memcpy(skb-data + sizeof(*pkt), pkt-buf, pkt-len);

Re: [RFC 2/5] VSOCK: Introduce virtio-vsock-common.ko

2013-06-27 Thread Michael S. Tsirkin
On Thu, Jun 27, 2013 at 04:00:01PM +0800, Asias He wrote: This module contains the common code and header files for the following virtio-vsock and virtio-vhost kernel modules. Signed-off-by: Asias He as...@redhat.com --- include/linux/virtio_vsock.h| 200 +++