jamesstringerparsec / Easy-GPU-PV

A Project dedicated to making GPU Partitioning on Windows easier!
4.24k stars 426 forks source link

Can anyone implement a way to use the full windows linux subsystem in hyper-v? #269

Open zapplelove opened 1 year ago

zapplelove commented 1 year ago

This is implementation but the author didn't say how to achieve it. hyper+完整发行版linux实现显卡虚拟化

image

image

standrze commented 1 year ago

You can compile dxgkrnl in Hyper-V and use that portion of the kernel. That provides you with /dev/dxg which works properly after you assign GPU-PV from PowerShell. I haven't gotten fully to implement, but that is half-way.

zapplelove commented 1 year ago

You can compile dxgkrnl in Hyper-V and use that portion of the kernel. That provides you with /dev/dxg which works properly after you assign GPU-PV from PowerShell. I haven't gotten fully to implement, but that is half-way.

I have an idea. After installing the system through wsl2, mount the wsl2 disks to the hyper-v virtual machine. I wonder if it is possible to break through the limitations of both。