Yuan Yao 16298be6a3 vmm_host: Make vhost_user front-end device monitor sockets | 1 месяц назад | |
---|---|---|
.. | ||
docs | 48643234da vmm_vhost: Delete vhost-kern and vhost-vsock | 2 лет назад |
src | 16298be6a3 vmm_host: Make vhost_user front-end device monitor sockets | 1 месяц назад |
.gitignore | 3a6ec148d6 third_party/vmm_vhost: Add vmm_vhost code into /third_party/ | 3 лет назад |
.gitmodules | 3a6ec148d6 third_party/vmm_vhost: Add vmm_vhost code into /third_party/ | 3 лет назад |
CODEOWNERS | 3a6ec148d6 third_party/vmm_vhost: Add vmm_vhost code into /third_party/ | 3 лет назад |
Cargo.toml | 52b8e42869 Cargo.toml: avoid "*" versions for external crates | 5 месяцев назад |
LICENSE | 3a6ec148d6 third_party/vmm_vhost: Add vmm_vhost code into /third_party/ | 3 лет назад |
LICENSE-BSD-3-Clause | 3a6ec148d6 third_party/vmm_vhost: Add vmm_vhost code into /third_party/ | 3 лет назад |
LICENSE-BSD-Chromium | 3a6ec148d6 third_party/vmm_vhost: Add vmm_vhost code into /third_party/ | 3 лет назад |
README.md | a53111b3a2 vmm_vhost: misc master/slave -> frontend/backend renaming | 8 месяцев назад |
A pure rust library for vhost-user. This is a fork of rust-vmm/vhost.
The vhost-user protocol aims to implement vhost backend drivers in userspace, which complements the ioctl interface used to control the vhost implementation in the Linux kernel. It implements the control plane needed to establish virtqueue sharing with a user space process on the same host. It uses communication over a Unix domain socket to share file descriptors in the ancillary data of the message.
The protocol defines two sides of the communication, frontend and backend. Frontend is the application that shares its virtqueues, backend is the consumer of the virtqueues. Frontend and backend can be either a client (i.e. connecting) or server (listening) in the socket communication.