Searched refs:Vm (Results 1 – 3 of 3) sorted by relevance
8 use vm::Vm;22 pub static VM_LIST: Mutex<Vec<Vm>> = Mutex::new(Vec::new());30 vm_list.push(Vm::new(id).unwrap()); in push_vm()35 pub fn remove_vm(id: usize) -> Vm { in remove_vm() argument45 pub fn update_vm(id: usize, new_vm: Vm) { in update_vm() argument51 pub fn vm(id: usize) -> Option<Vm> { in vm() argument
19 pub struct Vm { struct32 impl Vm { impl
16 use crate::virt::kvm::vm::Vm;85 pub parent_vm: Vm, // parent KVM155 pub fn new(vcpu_id: u32, parent_vm: Vm) -> Result<Self, SystemError> { in new()