vhost-device/crates
Erik Schilling a9de87a1ce tree-wide: bubble up errors from daemon threads
There was a mix of just unwrapping (panicking) and catching and logging
errors. The unwrapping is not allowing for particulary pretty error
handling, so let's bubble the errors up by not crashing the thread,
but by just returning a Result<()> than is received when joining the
threads.

Not all .unwrap() uses were translated since a followup PR (#389) will
rework that code anyway (and get rid of the .unwrap() in the process).

Signed-off-by: Erik Schilling <erik.schilling@linaro.org>
2023-07-11 13:30:01 +05:30
..
gpio tree-wide: bubble up errors from daemon threads 2023-07-11 13:30:01 +05:30
i2c tree-wide: bubble up errors from daemon threads 2023-07-11 13:30:01 +05:30
rng tree-wide: bubble up errors from daemon threads 2023-07-11 13:30:01 +05:30
scsi tree-wide: drop the Eq trait from Error 2023-07-11 13:30:01 +05:30
vsock tree-wide: bubble up errors from daemon threads 2023-07-11 13:30:01 +05:30