Re: [PATCH 0/6] virtio/vsock: introduce dgrams, sk_buff, and qdisc
From: Michael S. Tsirkin
Date: Wed Aug 17 2022 - 13:03:09 EST
On Tue, Aug 16, 2022 at 09:42:51AM +0000, Bobby Eshleman wrote:
> > The basic question to answer then is this: with a net device qdisc
> > etc in the picture, how is this different from virtio net then?
> > Why do you still want to use vsock?
> >
>
> When using virtio-net, users looking for inter-VM communication are
> required to setup bridges, TAPs, allocate IP addresses or setup DNS,
> etc... and then finally when you have a network, you can open a socket
> on an IP address and port. This is the configuration that vsock avoids.
> For vsock, we just need a CID and a port, but no network configuration.
Surely when you mention DNS you are going overboard? vsock doesn't
remove the need for DNS as much as it does not support it.
--
MST