Answer the question
In order to leave comments, you need to log in
Is it possible to forward pci inside a virtual machine?
Is it actually possible to do this? Inside the usb virtual machine, I was able to transfer the device to pci inside the virtual machine, I don’t know if it’s possible?
If that's the first time I'm asking a question
Answer the question
In order to leave comments, you need to log in
It’s possible, it’s another matter that not all hypervisors support such forwarding, as a rule, these are type 1 hypervisors, such as Linux + KVM, XEN, ESXi, there is information that Hyper-V can, but what edition. In the Linux version of VirtualBox, a feature was introduced, but then removed.
If you want to forward the VC to the VM, then in addition to supporting the CPU and the iommu mother, support for additional instructions will be required, for example, for intel vt-d + vt-x
My articles on this topic (for laptop and for PC):
https://habr. com/ru/post/575654/
https://habr.com/ru/post/437598/
Yes, it's possible.
And then this pci-device will become unavailable on the host (if without hacks)
But there are some licensing restrictions - for example, Nvidia does not allow the use of their consumer video cards in such scenarios. (They say it's no longer relevant)
I know that such a feature is definitely in vmware
Google "pci passthrough"
Such functionality is well implemented in the Proxmox distribution (based on the KVM hypervisor), you can even configure it in the web interface.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question