On 08/05/2017 03:36, Mark Wood-Patrick wrote: > I'm looking for pointers to documentation/code on how SR-IOV virtual > functions are processed by KVM/QEMU. I understand how to pass a > virtual function to a guest OS using virsh but I'm looking to find > architecture/implementation details at what happens at the guest OS > driver/QEMU/KVM level and if there are any KVM unit tests that are > validating SR-IOV functionality. I have been looking on the web for > information but so far have not been successful. SR-IOV is not implemented by KVM, it's implemented by VFIO and QEMU. You can look at slides here: http://events.linuxfoundation.org/sites/events/files/slides/An%20Introduction%20to%20PCI%20Device%20Assignment%20with%20VFIO%20-%20Williamson%20-%202016-08-30_0.pdf Paolo