早上收到github通知的virtio的更新,百度翻译如下。
virtio vsock设备是零配置的套接字通信设备。它被设计成适合客户的<->主机管理通道。
与guest代理沟通。
VSOCK是用socket API设计的,驱动程序是通常作为地址族实现(在AF_INET级别上)
为套接字API编写的应用程序移植时改动很小(类似于为IPv4应用程序添加IPv6支持的工作量)。
与现有控制台设备不同,它也用于客户<->主机通信时,多个客户端可以通过vsock同时连接到服务器。
此限制要求基于控制台的用户通过单个客户端访问进行仲裁。在VSOCK中,它们可以直接连接,
不必彼此同步。
与网络设备不同,不需要配置,因为设备在配置空间中带有它的地址。
vsock设备是由Gerd Hoffmann和Asias He原型制作的。我基于他们的代码设计的。
原文如下:
Stefan Hajnoczi <notifications@github.com>
oasis-tcs/virtio-spec <virtio-spec@noreply.github.com>
The virtio vsock device is a zero-configuration socket communications
device. It is designed as a guest<->host management channel suitable
for communicating with guest agents.
vsock is designed with the sockets API in mind and the driver is
typically implemented as an address family (at the same level as
AF_INET). Applications written for the sockets API can be ported with
minimal changes (similar amount of effort as adding IPv6 support to an
IPv4 application).
Unlike the existing console device, which is also used for guest<->host
communication, multiple clients can connect to a server at the same time
over vsock. This limitation requires console-based users to arbitrate
access through a single client. In vsock they can connect directly and
do not have to synchronize with each other.
Unlike network devices, no configuration is necessary because the device
comes with its address in the configuration space.
The vsock device was prototyped by Gerd Hoffmann and Asias He. I picked
the code and design up from them.
virtio-vsock设备是一种零配置的套接字通信设备,适用于客户<->主机管理通道,与guest代理通信。它使用socketAPI设计,移植工作量小,类似为IPv4应用添加IPv6支持。vsock允许多个客户端同时连接到服务器,无需配置,因设备地址已包含在配置空间中。

1842

被折叠的 条评论
为什么被折叠?



