Searched refs:current_vm (Results 1 – 1 of 1) sorted by relevance
173 let mut current_vm = vm(0).unwrap(); in ioctl() localVariable174 current_vm.set_user_memory_region(&kvm_userspace_mem)?; in ioctl()175 update_vm(0, current_vm); in ioctl()214 let mut current_vm = vm(0).unwrap(); in kvm_vm_ioctl_create_vcpu() localVariable215 current_vm.vcpu.push(vcpu); in kvm_vm_ioctl_create_vcpu()216 current_vm.nr_vcpus += 1; in kvm_vm_ioctl_create_vcpu()217 update_vm(0, current_vm); in kvm_vm_ioctl_create_vcpu()