Re: [Qemu-devel] [PATCH 3/4] sockets: add AF_VSOCK support

2016-10-13 Thread Michael Roth
Quoting Stefan Hajnoczi (2016-10-12 10:06:10) > On Fri, Oct 07, 2016 at 11:42:35AM -0500, Michael Roth wrote: > > Quoting Stefan Hajnoczi (2016-10-06 11:40:17) > > > Add the AF_VSOCK address family so that qemu-ga will be able to use > > > virtio-vsock. > > > > > > The AF_VSOCK address family

Re: [Qemu-devel] [PATCH 3/4] sockets: add AF_VSOCK support

2016-10-12 Thread Stefan Hajnoczi
On Fri, Oct 07, 2016 at 11:42:35AM -0500, Michael Roth wrote: > Quoting Stefan Hajnoczi (2016-10-06 11:40:17) > > Add the AF_VSOCK address family so that qemu-ga will be able to use > > virtio-vsock. > > > > The AF_VSOCK address family uses address tuples. The cid is > > the unique

Re: [Qemu-devel] [PATCH 3/4] sockets: add AF_VSOCK support

2016-10-07 Thread Michael Roth
Quoting Stefan Hajnoczi (2016-10-06 11:40:17) > Add the AF_VSOCK address family so that qemu-ga will be able to use > virtio-vsock. > > The AF_VSOCK address family uses address tuples. The cid is > the unique identifier comparable to an IP address. AF_VSOCK does not > use name

Re: [Qemu-devel] [PATCH 3/4] sockets: add AF_VSOCK support

2016-10-07 Thread Stefan Hajnoczi
On Thu, Oct 06, 2016 at 01:14:08PM -0500, Eric Blake wrote: > On 10/06/2016 11:40 AM, Stefan Hajnoczi wrote: > > +static int vsock_connect_addr(const struct sockaddr_vm *svm, bool > > *in_progress, > > + ConnectState *connect_state, Error **errp) > > +{ > > +int

Re: [Qemu-devel] [PATCH 3/4] sockets: add AF_VSOCK support

2016-10-06 Thread Eric Blake
On 10/06/2016 11:40 AM, Stefan Hajnoczi wrote: > Add the AF_VSOCK address family so that qemu-ga will be able to use > virtio-vsock. > > The AF_VSOCK address family uses address tuples. The cid is > the unique identifier comparable to an IP address. AF_VSOCK does not > use name

[Qemu-devel] [PATCH 3/4] sockets: add AF_VSOCK support

2016-10-06 Thread Stefan Hajnoczi
Add the AF_VSOCK address family so that qemu-ga will be able to use virtio-vsock. The AF_VSOCK address family uses address tuples. The cid is the unique identifier comparable to an IP address. AF_VSOCK does not use name resolution so it's seasy to convert between struct sockaddr_vm