'QEMU PCIe TLP Emulation

Does QEMU emulate the PCIe Transaction Layer somehow?

When I have a virtual Switch like (https://blogs.oracle.com/linux/post/a-study-of-the-linux-kernel-pci-subsystem-with-qemu) am I able to intercept at least the TLP's going over it? Or is the abstraction so high the the hypervisor does not go down to that layer at all.



Solution 1:[1]

As expected QEMU does not implement the TLP layer at the moment. Instead whenever a memory access happens qemu jumps out of the KVM execution and handles MMIO.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Benedict Schlüter