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

Method check_pending_removed_vcpu

vmm/src/cpu.rs:1496–1503  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1494 }
1495
1496 pub fn check_pending_removed_vcpu(&mut self) -> bool {
1497 for state in self.vcpu_states.lock().unwrap().iter() {
1498 if state.active() && state.pending_removal.load(Ordering::SeqCst) {
1499 return true;
1500 }
1501 }
1502 false
1503 }
1504
1505 pub fn create_boot_vcpus(
1506 &mut self,

Callers 1

resizeMethod · 0.80

Calls 2

iterMethod · 0.80
activeMethod · 0.80

Tested by

no test coverage detected