Newb Question: Install drivers on Host, VM/CT, or both?

Depends...
Virtio driver = inside VM.
Driver of PCI passthroughed hardware = inside VM
Drivers of non-passthroughed hardware = on host

LXCs shares the kernel with the host, so host needs drivers and not the LXC.
 
Last edited:
Depends...
Virtio driver = inside VM.
Driver of PCI passthroughed hardware = inside VM
Drivers of non-passthroughed hardware = on host

LXCs shares the kernel with the host, so host needs drivers and not the LXC.
Ah! Thanks for the info! That makes sense.

Do you think it would be a bad idea to install drivers on both just in case? I'm trying to stitch together a small (but very performant) work storage server with a couple of Mellanox ConnectX-4 cards. Having a hell of a time getting drivers properly installed and configured. I can't really tell if I'm supposed to be in a VM or on the pve host itself
 
Ah! Thanks for the info! That makes sense.

Do you think it would be a bad idea to install drivers on both just in case? I'm trying to stitch together a small (but very performant) work storage server with a couple of Mellanox ConnectX-4 cards. Having a hell of a time getting drivers properly installed and configured. I can't really tell if I'm supposed to be in a VM or on the pve host itself
If you don't use PCI passthrough to passthough the NICs into the VM it would be useless to install the Mellanox drivers inside the VM, as the VM then only sees the virtual E1000 or virtual virtio NICs. VMs can't make use of physical hardware that isn't passed through, so the VM only needs the drivers of the virtual devices (so E1000 or virtio drivers). I wouldn`t install the Mellanox drivers inside the VM. Just more bloatware and confusing when administrating it.
 
Last edited:
  • Like
Reactions: Axiomatic
If you don't use PCI passthrough to passthough the NICs into the VM it would be useless to install the Mellanox drivers inside the VM, as the VM then only sees the virtual E1000 or virtual virtio NICs. VMs can't make use of physical hardware that isn't passed through, so the VM only needs the drivers of the virtual devices (so E1000 or virtio drivers). I wouldn`t install the Mellanox drivers inside the VM. Just more bloatware and confusing when administrating it.
Ah! That makes a lot of sense. Thank you!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!