MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / entry_point

Method entry_point

vmm/src/vm.rs:2774–2781  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

2772 }
2773
2774 fn entry_point(&mut self) -> Result<Option<EntryPoint>> {
2775 trace_scoped!("entry_point");
2776
2777 self.load_payload_handle
2778 .take()
2779 .map(|handle| handle.join().map_err(Error::KernelLoadThreadJoin)?)
2780 .transpose()
2781 }
2782
2783 pub fn boot(&mut self) -> Result<()> {
2784 trace_scoped!("Vm::boot");

Callers 1

bootMethod · 0.80

Calls 2

takeMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected