cloud-hypervisor/virtio-devices/src
Rob Bradford 2529ffd593 virtio-devices: Fix clippy warning for use of .clone()
warning: `devices` (lib) generated 1 warning (run `cargo clippy --fix --lib -p devices` to apply 1 suggestion)
warning: assigning the result of `Clone::clone()` may be inefficient
    --> virtio-devices/src/transport/pci_device.rs:1073:9
     |
1073 |         self.bar_regions = bars.clone();
     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `self.bar_regions.clone_from(&bars)`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
2024-03-19 18:36:22 +00:00
..
transport virtio-devices: Fix clippy warning for use of .clone() 2024-03-19 18:36:22 +00:00
vhost_user misc: Remove redundant "use" imports 2024-02-19 17:54:30 +00:00
vsock misc: Remove redundant "use" imports 2024-02-19 17:54:30 +00:00
balloon.rs balloon: let balloon deflation works on page size other than 4k 2023-08-21 16:35:23 +01:00
block.rs misc: Remove redundant "use" imports 2024-02-19 17:54:30 +00:00
console.rs misc: Stop using deprecated functions from vm-memory crate 2023-11-14 09:17:42 +00:00
device.rs virtio-net: net: Wait for threads to exit on Drop 2022-11-10 07:46:16 -08:00
epoll_helper.rs virtio-devices: modify or provide safety comments 2022-11-18 12:50:01 +00:00
iommu.rs virtio-devices: properly join all threads on Drop 2023-01-12 18:03:33 +00:00
lib.rs misc: Remove redundant "use" imports 2024-02-19 17:54:30 +00:00
mem.rs virtio-devices: typo fixes 2023-01-25 10:38:31 +00:00
net.rs misc: Remove redundant "use" imports 2024-02-19 17:54:30 +00:00
pmem.rs virtio-devices: properly join all threads on Drop 2023-01-12 18:03:33 +00:00
rng.rs misc: Stop using deprecated functions from vm-memory crate 2023-11-14 09:17:42 +00:00
seccomp_filters.rs misc: Remove redundant "use" imports 2024-02-19 17:54:30 +00:00
thread_helper.rs virtio-devices: Shutdown VMM upon worker thread errors 2022-08-16 11:45:44 +01:00
vdpa.rs misc: Automatically fix cargo clippy issues added in 1.65 (stable) 2022-12-14 14:27:19 +00:00
watchdog.rs virtio-devices: properly join all threads on Drop 2023-01-12 18:03:33 +00:00