Home
last modified time | relevance | path

Searched refs:vm_id (Results 1 – 8 of 8) sorted by relevance

/arch/arm64/geniezone/
Dvcpu.c37 a1 = assemble_vm_vcpu_tuple(vcpu->gzvm->vm_id, vcpu->vcpuid); in gzvm_arch_vcpu_update_one_reg()
57 a1 = assemble_vm_vcpu_tuple(vcpu->gzvm->vm_id, vcpu->vcpuid); in gzvm_arch_vcpu_run()
64 int gzvm_arch_destroy_vcpu(u16 vm_id, int vcpuid) in gzvm_arch_destroy_vcpu() argument
69 a1 = assemble_vm_vcpu_tuple(vm_id, vcpuid); in gzvm_arch_destroy_vcpu()
84 int gzvm_arch_create_vcpu(u16 vm_id, int vcpuid, void *run) in gzvm_arch_create_vcpu() argument
90 a1 = assemble_vm_vcpu_tuple(vm_id, vcpuid); in gzvm_arch_create_vcpu()
Dvm.c72 int gzvm_arch_inform_exit(u16 vm_id) in gzvm_arch_inform_exit() argument
77 ret = gzvm_hypcall_wrapper(MT_HVC_GZVM_INFORM_EXIT, vm_id, 0, 0, 0, 0, 0, 0, &res); in gzvm_arch_inform_exit()
108 int gzvm_arch_set_memregion(u16 vm_id, size_t buf_size, in gzvm_arch_set_memregion() argument
113 return gzvm_hypcall_wrapper(MT_HVC_GZVM_SET_MEMREGION, vm_id, in gzvm_arch_set_memregion()
169 int gzvm_arch_destroy_vm(u16 vm_id) in gzvm_arch_destroy_vm() argument
173 return gzvm_hypcall_wrapper(MT_HVC_GZVM_DESTROY_VM, vm_id, 0, 0, 0, 0, in gzvm_arch_destroy_vm()
182 return gzvm_hypcall_wrapper(MT_HVC_GZVM_MEMREGION_PURPOSE, gzvm->vm_id, in gzvm_arch_memregion_purpose()
191 return gzvm_hypcall_wrapper(MT_HVC_GZVM_SET_DTB_CONFIG, gzvm->vm_id, in gzvm_arch_set_dtb_config()
200 return gzvm_hypcall_wrapper(MT_HVC_GZVM_ENABLE_CAP, gzvm->vm_id, in gzvm_vm_arch_enable_cap()
330 if (gzvm_arch_set_memregion(gzvm->vm_id, buf_size, in gzvm_vm_populate_mem_region()
[all …]
Dvgic.c11 int gzvm_arch_create_device(u16 vm_id, struct gzvm_create_device *gzvm_dev) in gzvm_arch_create_device() argument
15 return gzvm_hypcall_wrapper(MT_HVC_GZVM_CREATE_DEVICE, vm_id, in gzvm_arch_create_device()
34 unsigned long a1 = assemble_vm_vcpu_tuple(gzvm->vm_id, vcpu_idx); in gzvm_arch_inject_irq()
/arch/x86/kvm/svm/
Davic.c49 #define __AVIC_GATAG(vm_id, vcpu_id) ((((vm_id) & AVIC_VM_ID_MASK) << AVIC_VM_ID_SHIFT) | \ argument
51 #define AVIC_GATAG(vm_id, vcpu_id) \ argument
53 u32 ga_tag = __AVIC_GATAG(vm_id, vcpu_id); \
56 WARN_ON_ONCE(AVIC_GATAG_TO_VMID(ga_tag) != (vm_id)); \
148 u32 vm_id = AVIC_GATAG_TO_VMID(ga_tag); in avic_ga_log_notifier() local
151 pr_debug("SVM: %s: vm_id=%#x, vcpu_id=%#x\n", __func__, vm_id, vcpu_id); in avic_ga_log_notifier()
152 trace_kvm_avic_ga_log(vm_id, vcpu_id); in avic_ga_log_notifier()
155 hash_for_each_possible(svm_vm_data_hash, kvm_svm, hnode, vm_id) { in avic_ga_log_notifier()
156 if (kvm_svm->avic_vm_id != vm_id) in avic_ga_log_notifier()
200 u32 vm_id; in avic_vm_init() local
[all …]
Dhyperv.h24 hv_vcpu->nested.vm_id = hve->hv_vm_id; in nested_svm_hv_update_vm_vp_ids()
/arch/x86/kvm/
Dhyperv.c2123 if (!hv_v || hv_v->nested.vm_id != hv_vcpu->nested.vm_id) in kvm_hv_flush_tlb()
/arch/x86/include/asm/
Dkvm_host.h672 u64 vm_id; member
/arch/x86/kvm/vmx/
Dnested.c242 hv_vcpu->nested.vm_id = 0; in nested_release_evmcs()
1593 hv_vcpu->nested.vm_id = evmcs->hv_vm_id; in copy_enlightened_to_vmcs12()