mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Basic Vcpu implementation
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
+2
-2
@@ -26,8 +26,8 @@ pub fn boot_kernel(kernel: &Path) -> Result<()> {
|
||||
let vmm = Vmm::new()?;
|
||||
let mut vm = Vm::new(&vmm.kvm, kernel)?;
|
||||
|
||||
vm.load_kernel()?;
|
||||
vm.start()?;
|
||||
let entry = vm.load_kernel()?;
|
||||
vm.start(entry)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user