mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
441b6c71f0
Replace an open-coded version of base::open_file() to simplify the vm_control code that opens USB devfs files, and improve the error message when opening the device fails. Also clean up unused ModifyUsbError variants while we're here. BUG=b:213152502 TEST=Share USB device with Crostini on trogdor Change-Id: I9d220487a77a0b83fbc1602f65455e6f384f4abe Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3706097 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Noah Gold <nkgold@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |