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
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);
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 +++