| /linux/arch/powerpc/include/asm/ |
| H A D | plpar_wrappers.h | 348 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 D | guest-state-buffer.h | 258 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 D | mshyperv.c | 76 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 D | hv_core.c | 161 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 D | hv_init.c | 453 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 D | builtin-inject.c | 53 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 D | guest-state-buffer.c | 26 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 D | book3s_hv_nestedv2.c | 646 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 D | book3s_hv.c | 5722 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 D | mshyperv.h | 171 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 D | hv_trace.h | 297 __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 D | maintainer-tip.rst | 732 unsigned int guest_id; 742 unsigned int guest_id; /* Unique guest id */ 756 * @guest_id: Unique guest id 767 unsigned int guest_id;
|