[libvirt-users] [Qemu-devel] VFIO PCIe Extended Capabilities

Spenser Gilliland spenser.gilliland at xilinx.com
Tue Jul 19 21:25:18 UTC 2016


Hey Alex,

> How so?  The patch should make extended config space disappear when the
> device is not on a PCIe bus.  This is the correct behavior per the
> PCIe spec.  Are you trying to exploit this QEMU bug to see some PCIe
> capabilities but not others?  That's wrong, you'll need to move the
> device to a PCIe slot to get extended capabilities.

Yes, I am exploiting the peculiarities of QEMU to make my hardware work properly.  It may be wrong but it works (hence the ;-) ) .

>From this conversation, it seems the real problem is that libvirt does not auto assign the hardware to a pcie root port in the q35 machine type. It seems like this really needs to be fixed in the libvirt source code; so, I'm working on a patch for libvirt.

I'd be happy to test your patch for you;  I have access to hardware that will allow me to verify that your patch works correctly. Feel free to cc me on the next version of the patch and I'll add my tested-by.

> You're sending email to a public list, please stop including these.

This is not intentional.  It seems like the Xilinx email servers (not my local machine) are adding this to all messages.  I'll see what I can do and I'm sorry for the inconvenience.

Thanks,
Spenser



This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.





More information about the libvirt-users mailing list