vmsilo fork of vhost rust libraries
Find a file
Stefano Garzarella f574a20563 vhost: fix clippy unnecessary use of get(&uuid.uuid).is_some()``
The new clippy in rust-vmm-ci complain about this:

error: unnecessary use of `get(&uuid.uuid).is_some()`
   --> vhost/src/vhost_user/frontend_req_handler.rs:393:36
    |
393 |             if self.shared_objects.get(&uuid.uuid).is_some() {
    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `contains(&uuid.uuid)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_get_then_check
    = note: `-D clippy::unnecessary-get-then-check` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::unnecessary_get_then_check)]`

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2024-09-03 11:59:38 +02:00
.buildkite CI: Build and test with gpu-socket feature 2024-07-23 14:50:25 +02:00
.cargo fix link issues on aarch64 musl 2020-09-04 17:59:53 +03:00
.github dependabot: enable update grouping 2023-11-14 15:04:11 +01:00
rust-vmm-ci@5e818dc729 build(deps): bump rust-vmm-ci from cec97d9 to 5e818dc 2024-08-26 12:14:37 +02:00
vhost vhost: fix clippy unnecessary use of get(&uuid.uuid).is_some()`` 2024-09-03 11:59:38 +02:00
vhost-user-backend Modify changelogs mentioning upcoming gpu-socket feature 2024-07-23 14:50:25 +02:00
.gitignore Update .gitignore file 2021-03-01 12:50:56 +01:00
.gitmodules Switch to rust-vmm-ci for the CI 2020-09-04 17:59:53 +03:00
Cargo.toml Move all crates to workspace root 2023-11-23 16:36:57 +01:00
CODEOWNERS Add myself as code owner 2024-03-07 09:46:49 +01:00
coverage_config_aarch64.json vhost: Adopt new backend naming 2023-09-13 13:00:10 +02:00
coverage_config_x86_64.json vhost_user: Remove support for FS_* requests 2024-06-27 21:47:54 +02:00
LICENSE Initial commit 2019-04-03 14:38:29 +08:00
LICENSE-BSD-3-Clause Refine BSD-3-Clause license file 2021-11-26 21:19:40 +08:00
README.md vhost: Add README for the workspace 2022-10-11 12:28:33 +05:30

vhost

The vhost workspace hosts libraries related to the vhost and vhost-user protocols. It currently consists of the following crates:

  • vhost -> A pure rust library for vDPA, vhost and vhost-user.
  • vhost-user-backend -> It provides a framework to implement vhost-user backend services.