intel / XenGT-Preview-xen

20 stars 7 forks source link

Expose support for Intel GVT tech for MacOS (running Win or Lin VM under MacOS)? #6

Open oscarbg opened 9 years ago

oscarbg commented 9 years ago

Hi, I know that may sound crazy but can we expect some support to Intel GVT on MacOS.. Ideally, for me at least, the solution I want would be to have GPU acceleration on Windows or Linux virtual machines running under MacOSX using a virtualization consumer product like VirtualBox (or Vmware Player).. Could also be in theory running GPU accelerated MacOSX virtual machines under Windows (but these are is not officialy supported only hacks: http://www.sysprobs.com/guide-install-os-x-10-9-mavericks-on-vmware-workstation-with-windows-7-or-windows-8).. Also other "hack" way could be as you seem to be working on support for KVM (KVMgt) and I see also KVM for OSX hacks are there (http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/) so perhaps is possible this way too.. don't know if somehow that requires Mac Intel GPU drivers to be modified to support Intel GVT similar to support for Windows was added needing new Intel GPU Windows drivers .. Also don't know if these can help in bringing some Intel GVT tech to MacOS but seems 10.10 adds: "Hypervisor (Hypervisor.framework). The Hypervisor framework allows virtualization vendors to build virtualization solutions on top of OS X without needing to deploy third-party kernel extensions (KEXTs). Included is a lightweight hypervisor that enables virtualization of the host CPUs." thanks..

l1viathan commented 9 years ago

the GVT-g tech contains several components, such as: the MPT services in hypervisor, the vPCI layout of QEMU, the vgt device model, etc.

Currently we have Xen and KVM supported - MPT services implemented.

Supporting other hypervisors means, at first, adding MPT services. However: 1) if the device model is not QEMU, extra effort is needed to present an Intel GPU to guest; 2) if the Host OS is not Linux, the i915/vgt drivers adoption may have more effort needed.

ktian1 commented 9 years ago

We don’t have plan to support MacOS.

btw, the core code (~90%), about vGPU device model, is dual-licensed so you can port it to whatever hypervisor you’d like. As Jike pointed out, the porting effort is straightforward if you are using a Linux host, mostly about some hypervisor services for vGPU management.

Thanks Kevin

From: Oscar Barenys [mailto:notifications@github.com] Sent: Monday, October 27, 2014 11:38 AM To: 01org/XenGT-Preview-xen Subject: [XenGT-Preview-xen] Expose support for Intel GVT tech for MacOS (running Win or Lin VM under MacOS)? (#6)

Hi, I know that may sound crazy but can we expect some support to Intel GVT on MacOS.. Ideally, for me at least, the solution I want would be to have GPU acceleration on Windows or Linux virtual machines running under MacOSX using a virtualization consumer product like VirtualBox (or Vmware Player).. Could also be in theory running GPU accelerated MacOSX virtual machines under Windows (but these are is not officialy supported only hacks: http://www.sysprobs.com/guide-install-os-x-10-9-mavericks-on-vmware-workstation-with-windows-7-or-windows-8).. Also other "hack" way could be as you seem to be working on support for KVM (KVMgt) and I see also KVM for OSX hacks are there (http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/http://www.contrib.andrew.cmu.edu/%7Esomlo/OSXKVM/) so perhaps is possible this way too.. don't know if somehow that requires Mac Intel GPU drivers to be modified to support Intel GVT similar to support for Windows was added needing new Intel GPU Windows drivers .. Also don't know if these can help in bringing some Intel GVT tech to MacOS but seems 10.10 adds: "Hypervisor (Hypervisor.framework). The Hypervisor framework allows virtualization vendors to build virtualization solutions on top of OS X without needing to deploy third-party kernel extensions (KEXTs). Included is a lightweight hypervisor that enables virtualization of the host CPUs." thanks..

— Reply to this email directly or view it on GitHubhttps://github.com/01org/XenGT-Preview-xen/issues/6.