Home
last modified time | relevance | path

Searched refs:Vm (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/virt/kvm/
H A Dmod.rs8 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() argument
45 pub fn update_vm(id: usize, new_vm: Vm) { in update_vm() argument
51 pub fn vm(id: usize) -> Option<Vm> { in vm() argument
H A Dvm.rs19 pub struct Vm { struct
32 impl Vm { argument
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dvcpu.rs16 use crate::virt::kvm::vm::Vm;
85 pub parent_vm: Vm, // parent KVM
155 pub fn new(vcpu_id: u32, parent_vm: Vm) -> Result<Self, SystemError> { in new()