crosvm/kvm
Daniel Verkamp e2d619d6f0 hypervisor: kvm: avoid unnecessary PathBuf allocation
Create a Path directly in Kvm::new() rather than constructing a PathBuf
and borrowing it.

BUG=None
TEST=tools/dev_container tools/presubmit

Change-Id: Icf46c48dc2dde3548cc796fc0162d5b57d4ad9bd
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5671064
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Frederick Mayle <fmayle@google.com>
2024-07-08 20:10:41 +00:00
..
src hypervisor: kvm: avoid unnecessary PathBuf allocation 2024-07-08 20:10:41 +00:00
tests kvm/tests: fix clippy::never_loop 2024-06-10 20:01:39 +00:00
Cargo.toml Cargo.toml: avoid "*" versions for external crates 2024-05-22 01:01:42 +00:00