Home
last modified time | relevance | path

Searched refs:guest_id (Results 1 – 6 of 6) sorted by relevance

/linux/arch/x86/hyperv/
H A Dhv_init.c454 u64 guest_id; in hyperv_init() local
516 guest_id = hv_generate_guest_id(LINUX_VERSION_CODE); in hyperv_init()
517 wrmsrq(HV_X64_MSR_GUEST_OS_ID, guest_id); in hyperv_init()
520 hv_ivm_msr_write(HV_X64_MSR_GUEST_OS_ID, guest_id); in hyperv_init()
661 u64 guest_id; in hyperv_report_panic() local
675 rdmsrq(HV_X64_MSR_GUEST_OS_ID, guest_id); in hyperv_report_panic()
678 wrmsrq(HV_X64_MSR_CRASH_P1, guest_id); in hyperv_report_panic()
/linux/tools/perf/
H A Dbuiltin-inject.c56 struct guest_id { argument
101 /* Hash table for guest_id */
1363 struct guest_id *guest_id = zalloc(sizeof(*guest_id)); in guest_session__add_attrs()
1366 if (!guest_id) in guest_session__add_attrs()
1369 guest_id->id = id;
1370 guest_id->host_id = host_id; in synthesize_id_index()
1371 guest_id->vcpu = vcpu; in synthesize_id_index()
1372 hash = hash_64(guest_id in synthesize_id_index()
53 struct guest_id { global() struct
55 nodeguest_id global() argument
57 host_idguest_id global() argument
58 vcpuguest_id global() argument
1212 struct guest_id *guest_id = zalloc(sizeof(*guest_id)); guest_session__map_id() local
1277 struct guest_id *guest_id; guest_session__lookup_id() local
1318 struct guest_id *guest_id = guest_session__lookup_id(gs, id); guest_session__add_attr() local
1739 struct guest_id *guest_id; guest_session__inject_events() local
[all...]
/linux/arch/powerpc/kvm/
H A Dguest-state-buffer.c26 struct kvmppc_gs_buff *kvmppc_gsb_new(size_t size, unsigned long guest_id, in kvmppc_gsb_new() argument
43 gsb->guest_id = guest_id; in kvmppc_gsb_new()
629 rc = plpar_guest_set_state(hflags, gsb->guest_id, gsb->vcpu_id, in kvmppc_gsb_send()
656 rc = plpar_guest_get_state(hflags, gsb->guest_id, gsb->vcpu_id, in kvmppc_gsb_recv()
H A Dbook3s_hv.c5748 unsigned long guest_id; in kvmppc_core_init_vm_hv()
5750 rc = plpar_guest_create(0, &guest_id); in kvmppc_core_init_vm_hv() local
5768 kvm->arch.lpid = guest_id; in kvmppc_core_init_vm_hv()
/linux/include/asm-generic/
H A Dmshyperv.h171 u64 guest_id; in hv_generate_guest_id() local
173 guest_id = (((u64)HV_LINUX_VENDOR_ID) << 48); in hv_generate_guest_id()
174 guest_id |= (kernel_version << 16); in hv_generate_guest_id()
176 return guest_id; in hv_generate_guest_id()
/linux/drivers/hv/
H A Dhv_trace.h297 __array(char, guest_id, 16)
302 export_guid(__entry->guest_id, &msg->guest_endpoint_id);
308 __entry->guest_id, __entry->host_id, __entry->ret