mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Remove the Vmm structure
The Vmm structure is just a placeholder for the KVM instance. We can create it directly from the VM creation routine instead. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
@@ -285,7 +285,7 @@ fn main() {
|
||||
vm_config.disks,
|
||||
);
|
||||
|
||||
if let Err(e) = vmm::boot_kernel(vm_config) {
|
||||
if let Err(e) = vmm::start_vm_loop(vm_config) {
|
||||
println!("Guest boot failed: {}", e);
|
||||
process::exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user