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

Method get_vgic

devices/src/gic.rs:127–129  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

125 }
126
127 pub fn get_vgic(&mut self) -> Result<Arc<Mutex<dyn Vgic>>> {
128 Ok(self.vgic.clone().unwrap())
129 }
130
131 pub fn set_gicr_typers(&mut self, vcpu_states: &[CpuState]) {
132 let vgic = self.vgic.as_ref().unwrap().clone();

Callers 3

configure_systemMethod · 0.80
bootMethod · 0.80

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected