From: Jason Wang Subject: Re: [RFC] Discuss about an new idea "Vsock over Virtio-net" Date: Fri, 30 Nov 2018 20:55:17 +0800 Message-ID: <55352308-9ceb-413e-44f6-e3dfd8f642cc@redhat.com> References: <5BECEE53.7090408@huawei.com> <20181115015547-mutt-send-email-mst@kernel.org> <61d57505-7ff6-23c6-d26c-6a0062e08445@redhat.com> <20181129085049-mutt-send-email-mst@kernel.org> <7e78fc3d-0d5a-090f-476d-03ad490ff8a2@redhat.com> <20181130075134-mutt-send-email-mst@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: jiangyiwen , stefanha@redhat.com, stefanha@gmail.com, netdev@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org To: "Michael S. Tsirkin" Return-path: In-Reply-To: <20181130075134-mutt-send-email-mst@kernel.org> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 2018/11/30 下午8:52, Michael S. Tsirkin wrote: >>> If you want to compare it with >>> something that would be TCP or QUIC. The fundamental difference between >>> virtio-vsock and e.g. TCP is that TCP operates in a packet loss environment. >>> So they are using timers for reliability, and receiver is always free to >>> discard any unacked data. >> Virtio-net knows nothing above L2, so they are totally transparent to device >> itself. I still don't get why not using virtio-net instead. >> >> >> Thanks > Is your question why is virtio-vsock used instead of TCP on top of IP > on top of virtio-net? > > No, my question is why not do vsock through virtio-net. Thanks