Remove the panic by replacing the .expect() with a cleaner error handling. Signed-off-by: Rob Bradford <robert.bradford@intel.com> |
||
|---|---|---|
| .. | ||
| arch | ||
| kvm | ||
| mshv | ||
| cpu.rs | ||
| device.rs | ||
| hypervisor.rs | ||
| lib.rs | ||
| vm.rs | ||
Remove the panic by replacing the .expect() with a cleaner error handling. Signed-off-by: Rob Bradford <robert.bradford@intel.com> |
||
|---|---|---|
| .. | ||
| arch | ||
| kvm | ||
| mshv | ||
| cpu.rs | ||
| device.rs | ||
| hypervisor.rs | ||
| lib.rs | ||
| vm.rs | ||