hi
I want to run Nested Hyper-V (Windows 10) +GPU passthrough
GPU passthrough useing
^^^^^^^^^^^^^^thank you very much^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
But after enabling Hyper-V, the VM cannot be started,After many attempts, using
like:
I hope this helps others who have the same idea.
I want to run Nested Hyper-V (Windows 10) +GPU passthrough
GPU passthrough useing
I have been using it for several months with the following settings and have not encountered any problems.
Due to a bug in vfio, the latest kernel is required.
It is not necessary to specify vBIOS. Perhaps it is not a ROM that should be specified.
Specifying disable_idle_d3=1 will cause the problem to worsen.
There will be no problems even if you restart or shut down the virtual machine.
When the virtual machine is stopped, amdgpu is used, but when it is started, vfio-pci is used.
Due to a bug in vfio, the latest kernel is required.
It is not necessary to specify vBIOS. Perhaps it is not a ROM that should be specified.
Specifying disable_idle_d3=1 will cause the problem to worsen.
There will be no problems even if you restart or shut down the virtual machine.
When the virtual machine is stopped, amdgpu is used, but when it is started, vfio-pci is used.
・intel (Please do not include unnecessary options)
sed -i '1s/$/ quiet iommu=pt...
But after enabling Hyper-V, the VM cannot be started,After many attempts, using
Code:
args: -cpu host,+vmx,+ssse3,+sse4.1,+sse4.2,+aes,+xsave,+xsaveopt,+xsavec,+xgetbv1,+xsaves,+avx,+avx2,+fma,+bmi1,+bmi2,+invtsc,+pdpe1gb,+tsc-deadline,hv_passthrough,-hypervisor,level=30,-waitpkg
Code:
qm set 124 -args '-cpu host,+vmx,+ssse3,+sse4.1,+sse4.2,+aes,+xsave,+xsaveopt,+xsavec,+xgetbv1,+xsaves,+avx,+avx2,+fma,+bmi1,+bmi2,+invtsc,+pdpe1gb,+tsc-deadline,hv_passthrough,-hypervisor,level=30,-waitpkg'
qm set 124 -hookscript local:snippets/rx9070_reset.sh
qm set 124 -hostpci0 0000:da:00,pcie=1,rombar=0