Searched refs:intel_gvt_host (Results 1 – 4 of 4) sorted by relevance
57 if (!intel_gvt_host.mpt->host_init) in intel_gvt_hypervisor_host_init()60 return intel_gvt_host.mpt->host_init(dev, gvt, ops); in intel_gvt_hypervisor_host_init()69 if (!intel_gvt_host.mpt->host_exit) in intel_gvt_hypervisor_host_exit()72 intel_gvt_host.mpt->host_exit(dev, gvt); in intel_gvt_hypervisor_host_exit()85 if (!intel_gvt_host.mpt->attach_vgpu) in intel_gvt_hypervisor_attach_vgpu()88 return intel_gvt_host.mpt->attach_vgpu(vgpu, &vgpu->handle); in intel_gvt_hypervisor_attach_vgpu()101 if (!intel_gvt_host.mpt->detach_vgpu) in intel_gvt_hypervisor_detach_vgpu()104 intel_gvt_host.mpt->detach_vgpu(vgpu); in intel_gvt_hypervisor_detach_vgpu()138 ret = intel_gvt_host.mpt->inject_msi(vgpu->handle, addr, data); in intel_gvt_hypervisor_inject_msi()153 return intel_gvt_host.mpt->from_virt_to_mfn(p); in intel_gvt_hypervisor_virt_to_mfn()[all …]
42 struct intel_gvt_host intel_gvt_host; variable262 intel_gvt_host.dev = i915->drm.dev; in intel_gvt_init_device()263 intel_gvt_host.initialized = true; in intel_gvt_init_device()304 if (!intel_gvt_host.initialized) in intel_gvt_register_hypervisor()315 intel_gvt_host.mpt = m; in intel_gvt_register_hypervisor()316 intel_gvt_host.hypervisor_type = m->type; in intel_gvt_register_hypervisor()317 gvt = (void *)kdev_to_i915(intel_gvt_host.dev)->gvt; in intel_gvt_register_hypervisor()319 ret = intel_gvt_hypervisor_host_init(intel_gvt_host.dev, gvt, in intel_gvt_register_hypervisor()323 supported_hypervisors[intel_gvt_host.hypervisor_type]); in intel_gvt_register_hypervisor()328 supported_hypervisors[intel_gvt_host.hypervisor_type]); in intel_gvt_register_hypervisor()[all …]
301 switch (intel_gvt_host.hypervisor_type) { in intel_vgpu_opregion_base_write_handler()339 if (intel_gvt_host.hypervisor_type == INTEL_GVT_HYPERVISOR_XEN) { in intel_vgpu_clean_opregion()342 } else if (intel_gvt_host.hypervisor_type == INTEL_GVT_HYPERVISOR_KVM) { in intel_vgpu_clean_opregion()473 switch (intel_gvt_host.hypervisor_type) { in intel_vgpu_emulate_opregion_request()538 switch (intel_gvt_host.hypervisor_type) { in intel_vgpu_emulate_opregion_request()
59 struct intel_gvt_host { struct66 extern struct intel_gvt_host intel_gvt_host; argument