]> git.proxmox.com Git - mirror_qemu.git/commit
vfio: add pcie extended capability support
authorChen Fan <chen.fan.fnst@cn.fujitsu.com>
Thu, 30 Jun 2016 19:00:23 +0000 (13:00 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 30 Jun 2016 19:00:23 +0000 (13:00 -0600)
commit325ae8d548ebeee99cbebd38e2ff0909a9081c50
treeb4c49840c6a6c49a47b35232358616caa33de2e2
parent4d3fc4fdc6857e33346ed58ae55870f59391ee71
vfio: add pcie extended capability support

For vfio pcie device, we could expose the extended capability on
PCIE bus. due to add a new pcie capability at the tail of the chain,
in order to avoid config space overwritten, we introduce a copy config
for parsing extended caps. and rebuild the pcie extended config space.

Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci.c