Lines Matching defs:vm_id
98 u32 vm_id = AVIC_GATAG_TO_VMID(ga_tag);
101 pr_debug("SVM: %s: vm_id=%#x, vcpu_id=%#x\n", __func__, vm_id, vcpu_id);
102 trace_kvm_avic_ga_log(vm_id, vcpu_id);
105 hash_for_each_possible(svm_vm_data_hash, kvm_svm, hnode, vm_id) {
106 if (kvm_svm->avic_vm_id != vm_id)
150 u32 vm_id;
171 vm_id = next_vm_id = (next_vm_id + 1) & AVIC_VM_ID_MASK;
172 if (vm_id == 0) { /* id is 1-based, zero is not okay */
178 hash_for_each_possible(svm_vm_data_hash, k2, hnode, vm_id) {
179 if (k2->avic_vm_id == vm_id)
183 kvm_svm->avic_vm_id = vm_id;