Answer the question
In order to leave comments, you need to log in
How to forward a video card to a virtual machine?
There is a server with ubuntu linux installed on it. The essence of the task is to put a virtual machine on it in which it will be possible to forward a physical nvidia video card to use it in mining. It is planned to install wondows 10 on the virtual machine. Is it possible to implement this? The server has remote access via ssh
Answer the question
In order to leave comments, you need to log in
arbrspb ,
There is a server with ubuntu linux installed on it. The essence of the task is to install a virtual machine on it in which it will be possible to forward a physical nvidia video card to use it in mining. It is planned to install wondows 10 on the virtual machine. Is it possible to implement this?
1) Run the "dmesg | grep ecap" command.
2) On the IOMMU lines, the hexadecimal value after "ecap" indicates whether interrupt remapping is supported. If the last character of this value is an 8, 9, a, b, c, d, e, or an f, interrupt remapping is supported. For example, "ecap 1000" indicates there is no interrupt remapping support. "ecap 10207f" indicates interrupt remapping support, as the last character is an "f".
Interrupt remapping will only be enabled if every IOMMU supports it.
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=willitwork,kvm=off'
echo "softdep nouveau pre: vfio-pci" >> /etc/modprobe.d/nvidia.conf
echo "softdep nvidia pre: vfio-pci" >> /etc/modprobe.d/nvidia.conf
echo "softdep nvidia* pre : vfio-pci" >> /etc/modprobe.d/nvidia.conf
Some dubious idea - why do you need a layer in the form of virtualization? In my opinion, Linux is usually recommended as the OS for mining.
nvidia - almost nothing. nvidia deliberately prevents Windows drivers from starting if it detects video card forwarding. Well, besides this, you need some good luck with iron and the ability to set it all up.
With AMD you can - I didn’t do it myself, but there is one success story
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question