Searched refs:vmid (Results 1 – 9 of 9) sorted by relevance
| /hypervisor/arch/x86/configs/ |
| A D | pci_dev.c | 18 uint16_t vmid; in allocate_to_prelaunched_vm() local 23 for (vmid = 0U; (vmid < CONFIG_MAX_VM_NUM) && !found; vmid++) { in allocate_to_prelaunched_vm() 24 vm_config = get_vm_config(vmid); in allocate_to_prelaunched_vm()
|
| A D | vm_config.c | 33 bool vm_has_matched_name(uint16_t vmid, const char *name) in vm_has_matched_name() argument 35 struct acrn_vm_config *vm_config = get_vm_config(vmid); in vm_has_matched_name()
|
| /hypervisor/common/ |
| A D | hypercall.c | 199 uint16_t vmid = target_vm->vm_id; in hcall_create_vm() local 203 struct acrn_vm_config *vm_config = get_vm_config(vmid); in hcall_create_vm() 206 if (is_poweroff_vm(get_vm_from_vmid(vmid))) { in hcall_create_vm() 230 if (create_vm(vmid, pcpu_bitmap, vm_config, &tgt_vm) == 0) { in hcall_create_vm() 232 cv.vmid = vmid_2_rel_vmid(vm->vm_id, vmid); in hcall_create_vm() 236 cv.vmid = ACRN_INVALID_VMID; in hcall_create_vm() 243 vmid, cv.cpu_affinity); in hcall_create_vm() 249 if (((ret != 0) || (cv.vmid == ACRN_INVALID_VMID)) && (!is_static_configured_vm(target_vm))) { in hcall_create_vm()
|
| /hypervisor/include/arch/x86/asm/guest/ |
| A D | vm.h | 233 static inline uint16_t vmid_2_rel_vmid(uint16_t service_vmid, uint16_t vmid) { in vmid_2_rel_vmid() argument 234 return (vmid - service_vmid); in vmid_2_rel_vmid()
|
| /hypervisor/debug/ |
| A D | shell.c | 270 static uint16_t sanitize_vmid(uint16_t vmid) in sanitize_vmid() argument 272 uint16_t sanitized_vmid = vmid; in sanitize_vmid() 275 if (vmid >= CONFIG_MAX_VM_NUM) { in sanitize_vmid() 1324 static void get_vioapic_info(char *str_arg, size_t str_max, uint16_t vmid) in get_vioapic_info() argument 1331 struct acrn_vm *vm = get_vm_from_vmid(vmid); in get_vioapic_info() 1335 len = snprintf(str, size, "\r\nvm is not exist for vmid %hu", vmid); in get_vioapic_info() 1385 uint16_t vmid; in shell_show_vioapic_info() local 1394 vmid = sanitize_vmid((uint16_t) ret); in shell_show_vioapic_info() 1395 get_vioapic_info(shell_log_buf, SHELL_LOG_BUF_SIZE, vmid); in shell_show_vioapic_info()
|
| /hypervisor/include/arch/x86/asm/ |
| A D | vm_config.h | 220 bool vm_has_matched_name(uint16_t vmid, const char *name);
|
| /hypervisor/include/public/ |
| A D | acrn_hv_defs.h | 153 uint16_t vmid; member
|
| A D | acrn_common.h | 361 uint16_t vmid; member
|
| /hypervisor/arch/x86/guest/ |
| A D | vmcall.c | 182 vm_id = rel_vmid_2_vmid(service_vm->vm_id, regions.vmid); in parse_target_vm()
|
Completed in 22 milliseconds