|
|
|
|
|
by ymse
3083 days ago
|
|
The two parent posters are probably talking about PCI passthrough, in which case it does not really matter. The virtual machine gets the entire GPU and runs the driver. It also needs a dedicated monitor, keyboard and mouse. However Xenserver (and VMware) supports GPU sharing between multiple virtual machines, essentially GPU virtualization. Both Nvidia and AMD have custom solutions for this. I believe this is what the ancestor comment is using on Xenserver. There is work-in-progress support for GPU sharing in Linux KVM as well, although currently I think it's restricted to Intel. If you're interested in that, I would recommend going with AMD, since they maintain a high-quality driver in Linux itself (unlike Nvidia who only maintains a proprietary out-of-tree driver), and thus is much more likely to be supported by KVM. |
|
Not quite, Nvidia actually forbids the use of their consumer level cards being used this way and actively tries to deter it by detecting the use of a hypervisor in the drivers and refusing to initialize the card. There are ways to either work around or defeat this detection, either by using patched drivers that remove the check or by. Having the virtual machine hide it's presence from the guest system which can have a performance impact. AMD does not try to prevent such uses of their consumer level cards and are more likely to work out of the box.