crosvm/devices
Daniel Verkamp 79d7855cc3 devices: serial: include file path in errors
Improve the --serial option's errors for file operations by including
the path that could not be opened or created in the message.

Also replace the FileError uses for socket errors with their own
specific error variants.

BUG=None
TEST=crosvm run --serial type=file,path==/does/not/exist ...

Change-Id: Ia5eb71629b824e67f828e6516bf7771b2dba4903
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4010942
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Auto-Submit: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
2022-11-09 21:01:55 +00:00
..
src devices: serial: include file path in errors 2022-11-09 21:01:55 +00:00
tests/irqchip Reformat all files with nightly 2022-10-31 21:33:33 +00:00
Cargo.toml win_audio: build and test win_audio 2022-11-01 20:40:09 +00:00