Dear all,
I am new and would like to use proxmox to have two VM one with Windows for office and gaming and one with unbuntu for tensorflow work.
I managed to install proxmox as well as both os. I also followed those steps for gpu passthrough for an nvidia 1080TI:
In addition, my motherboard accepts sr-iov which I believe would allow me to use the same gpu also for my unbuntu VM. How can I set it up ?
Thanks in advance.
I am new and would like to use proxmox to have two VM one with Windows for office and gaming and one with unbuntu for tensorflow work.
I managed to install proxmox as well as both os. I also followed those steps for gpu passthrough for an nvidia 1080TI:
- Enable iommu on bios
- Change GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on" and update-grub
- Add vfiovfio_iommu_type1, vfio_pci, vfio_virqfd to nano /etc/modules
- remamp:
- echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.conf
- echo "options kvm ignore_msrs=1" > /etc/modprobe.d/kvm.conf
- Block drivers:
- echo "blacklist nvidia" >> /etc/modprobe.d/blacklist.conf
- Add the gpu to my VFIO
- echo "options vfio-pci ids=10de:1b81,10de:10f0 disable_vga=1"> /etc/modprobe.d/vfio.conf
- update update-initramfs -u
- edit nano /etc/pve/qemu-server/<vmid>.conf by adding:
- cpu: host,hidden=1,flags=+pcid
- args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
- Add my gpu to the virtual machine
In addition, my motherboard accepts sr-iov which I believe would allow me to use the same gpu also for my unbuntu VM. How can I set it up ?
Thanks in advance.