(&mut self)
| 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, |