On Fri, 2013-06-21 at 15:46 +0200, Alexander Graf wrote: > Not sure. We could just declare a "direct virq==irq" mode in which > msi.data == virq == irq. No need for any translation then.
Maybe. Beware that MSI data is only 16-bit on the wire but we may not care here. One thing I'm not 100% certain of is how Alexey makes all that work with VFIO since the MSI address/data in the device shall not be the qemu "cooked up" ones, but the real HW ones (corresponding to a different host interrupt). How do that work ? Cheers, Ben.