mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Propagate boot_kernel errors properly
So that our error traces are more meaningful. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
@@ -120,5 +120,7 @@ fn main() {
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
vmm::boot_kernel(vm_config).unwrap();
|
||||
if let Err(e) = vmm::boot_kernel(vm_config) {
|
||||
println!("Guest boot failed: {}", e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user