Home
last modified time | relevance | path

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

/linux/arch/powerpc/include/asm/
H A Dplpar_wrappers.h348 static inline long plpar_guest_create(unsigned long flags, unsigned long *guest_id) in plpar_guest_create() argument
358 *guest_id = retbuf[0]; in plpar_guest_create()
377 unsigned long guest_id, in plpar_guest_create_vcpu() argument
383 rc = plpar_hcall_norets(H_GUEST_CREATE_VCPU, 0, guest_id, vcpu_id); in plpar_guest_create_vcpu()
399 unsigned long guest_id, in plpar_guest_set_state() argument
409 rc = plpar_hcall(H_GUEST_SET_STATE, retbuf, flags, guest_id, in plpar_guest_set_state()
436 unsigned long guest_id, in plpar_guest_get_state() argument
446 rc = plpar_hcall(H_GUEST_GET_STATE, retbuf, flags, guest_id, in plpar_guest_get_state()
472 static inline long plpar_guest_run_vcpu(unsigned long flags, unsigned long guest_id, in plpar_guest_run_vcpu() argument
479 rc = plpar_hcall(H_GUEST_RUN_VCPU, retbuf, flags, guest_id, vcpu_id); in plpar_guest_run_vcpu()
[all …]
H A Dguest-state-buffer.h258 unsigned long guest_id; member
337 struct kvmppc_gs_buff *kvmppc_gsb_new(size_t size, unsigned long guest_id,
/linux/arch/arm64/hyperv/
H A Dmshyperv.c76 u64 guest_id; in hyperv_init() local
89 guest_id = hv_generate_guest_id(LINUX_VERSION_CODE); in hyperv_init()
90 hv_set_vpreg(HV_REGISTER_GUEST_OS_ID, guest_id); in hyperv_init()
H A Dhv_core.c161 u64 guest_id; in hyperv_report_panic() local
179 guest_id = hv_get_vpreg(HV_REGISTER_GUEST_OS_ID); in hyperv_report_panic()
187 hv_set_vpreg(HV_REGISTER_GUEST_CRASH_P1, guest_id); in hyperv_report_panic()
/linux/arch/x86/hyperv/
H A Dhv_init.c453 u64 guest_id; in hyperv_init() local
515 guest_id = hv_generate_guest_id(LINUX_VERSION_CODE); in hyperv_init()
516 wrmsrq(HV_X64_MSR_GUEST_OS_ID, guest_id); in hyperv_init()
519 hv_ivm_msr_write(HV_X64_MSR_GUEST_OS_ID, guest_id); in hyperv_init()
660 u64 guest_id; in hyperv_report_panic() local
674 rdmsrq(HV_X64_MSR_GUEST_OS_ID, guest_id); in hyperv_report_panic()
677 wrmsrq(HV_X64_MSR_CRASH_P1, guest_id); in hyperv_report_panic()
/linux/tools/perf/
H A Dbuiltin-inject.c53 struct guest_id { struct
1212 struct guest_id *guest_id = zalloc(sizeof(*guest_id)); in guest_session__map_id() local
1215 if (!guest_id) in guest_session__map_id()
1218 guest_id->id = id; in guest_session__map_id()
1219 guest_id->host_id = host_id; in guest_session__map_id()
1220 guest_id->vcpu = vcpu; in guest_session__map_id()
1221 hash = hash_64(guest_id->id, PERF_EVLIST__HLIST_BITS); in guest_session__map_id()
1222 hlist_add_head(&guest_id->node, &gs->heads[hash]); in guest_session__map_id()
1274 static struct guest_id *guest_session__lookup_id(struct guest_session *gs, u64 id) in guest_session__lookup_id()
1277 struct guest_id *guest_id; in guest_session__lookup_id() 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_nestedv2.c646 unsigned long guest_id, vcpu_id; in kvmhv_nestedv2_host_create() local
651 guest_id = vcpu->kvm->arch.lpid; in kvmhv_nestedv2_host_create()
661 gsb = kvmppc_gsb_new(kvmppc_gsm_size(gsm), guest_id, vcpu_id, in kvmhv_nestedv2_host_create()
675 vcpu_run_output = kvmppc_gsb_new(cfg->vcpu_run_output_size, guest_id, in kvmhv_nestedv2_host_create()
702 vcpu_run_input = kvmppc_gsb_new(kvmppc_gsm_size(vcpu_message), guest_id, in kvmhv_nestedv2_host_create()
H A Dbook3s_hv.c5722 unsigned long guest_id; in kvmppc_core_init_vm_hv() local
5724 rc = plpar_guest_create(0, &guest_id); in kvmppc_core_init_vm_hv()
5742 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
/linux/Documentation/process/
H A Dmaintainer-tip.rst732 unsigned int guest_id;
742 unsigned int guest_id; /* Unique guest id */
756 * @guest_id: Unique guest id
767 unsigned int guest_id;