Wrong. You clearly have no idea how it actually works The host OS is still in control to some extent (how do you think the VMM would manage the device if it completely disappeared from the host?), and most importantly any interrupts from the device are received by the host OS and must be forwarded to the VM. Only the very latest CPUs might possibly be able to handle interrupts without host OS intervention, though I'm not entirely sure about that.Technologov wrote:In PCI-passthrough, the guest gets the PCI device totally. It is yanked from the host, and guest gets total control of it.
So driver works ONLY in the guest, and performance is at hardware level. Host OS gets bypassed completely. Host OS won't even detect bypassed PCI devices, the moment you attach them to guest.
For register/MMIO/memory access, yes, the performance penalty should be negligible or nonexistent. For interrupts definitely not.