Searched refs:intel_gvt_host (Results 1 – 4 of 4) sorted by relevance
55 if (!intel_gvt_host.mpt->host_init) in intel_gvt_hypervisor_host_init()58 return intel_gvt_host.mpt->host_init(dev, gvt, ops); in intel_gvt_hypervisor_host_init()67 if (!intel_gvt_host.mpt->host_exit) in intel_gvt_hypervisor_host_exit()70 intel_gvt_host.mpt->host_exit(dev); in intel_gvt_hypervisor_host_exit()83 if (!intel_gvt_host.mpt->attach_vgpu) in intel_gvt_hypervisor_attach_vgpu()86 return intel_gvt_host.mpt->attach_vgpu(vgpu, &vgpu->handle); in intel_gvt_hypervisor_attach_vgpu()99 if (!intel_gvt_host.mpt->detach_vgpu) in intel_gvt_hypervisor_detach_vgpu()102 intel_gvt_host.mpt->detach_vgpu(vgpu); in intel_gvt_hypervisor_detach_vgpu()136 ret = intel_gvt_host.mpt->inject_msi(vgpu->handle, addr, data); in intel_gvt_hypervisor_inject_msi()151 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; variable382 intel_gvt_host.dev = &dev_priv->drm.pdev->dev; in intel_gvt_init_device()383 intel_gvt_host.initialized = true; in intel_gvt_init_device()416 if (!intel_gvt_host.initialized) in intel_gvt_register_hypervisor()427 intel_gvt_host.mpt = m; in intel_gvt_register_hypervisor()428 intel_gvt_host.hypervisor_type = m->type; in intel_gvt_register_hypervisor()429 gvt = (void *)kdev_to_i915(intel_gvt_host.dev)->gvt; in intel_gvt_register_hypervisor()431 ret = intel_gvt_hypervisor_host_init(intel_gvt_host.dev, gvt, in intel_gvt_register_hypervisor()435 supported_hypervisors[intel_gvt_host.hypervisor_type]); in intel_gvt_register_hypervisor()440 supported_hypervisors[intel_gvt_host.hypervisor_type]); in intel_gvt_register_hypervisor()[all …]
302 switch (intel_gvt_host.hypervisor_type) { in intel_vgpu_opregion_base_write_handler()340 if (intel_gvt_host.hypervisor_type == INTEL_GVT_HYPERVISOR_XEN) { in intel_vgpu_clean_opregion()343 } else if (intel_gvt_host.hypervisor_type == INTEL_GVT_HYPERVISOR_KVM) { in intel_vgpu_clean_opregion()474 switch (intel_gvt_host.hypervisor_type) { in intel_vgpu_emulate_opregion_request()539 switch (intel_gvt_host.hypervisor_type) { in intel_vgpu_emulate_opregion_request()
55 struct intel_gvt_host { struct62 extern struct intel_gvt_host intel_gvt_host; argument