cloud-hypervisor/vmm
Wei Liu 7552f4db61 vmm: device_manager: restore error handling
When the hypervisor crate was introduced, a few places that handled
errors were commented out in favor of unwrap, but that's bad practice.

Restore proper error handling in those places in this patch.

We cannot use from_raw_os_error anymore because it is wrapped deep under
hypervisor crate. Create new custom errors instead.

Fixes: e4dee57e81 ("arch, pci, vmm: Initial switch to the hypervisor crate")
Signed-off-by: Wei Liu <liuwe@microsoft.com>
2020-06-22 22:02:21 +01:00
..
src vmm: device_manager: restore error handling 2020-06-22 22:02:21 +01:00
Cargo.toml build(deps): bump signal-hook from 0.1.15 to 0.1.16 2020-06-22 14:09:11 +01:00