pci: Remove PCI_CAPABILITY_CONFIG_*
commit3de4c3634b341335f2750a517eb9754dcc3b580f
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 6 Dec 2010 16:22:38 +0000 (6 09:22 -0700)
committerAvi Kivity <avi@redhat.com>
Mon, 6 Dec 2010 16:33:48 +0000 (6 18:33 +0200)
treebddca1a5a7bd1e0fc2d6097cad6d6b1806b889b7
parent058d2ef893549363860c89ad5971ea5f0ab05114
pci: Remove PCI_CAPABILITY_CONFIG_*

Half of these aren't used anywhere, the other half are wrong.  Now that
device assignment is trying to match physical hardware offsets for PCI
capabilities, we can't round up the MSI and MSI-X length.  MSI-X is
always 12 bytes.  MSI is variable length depending on features, but for
the current device assignment implementation, it's always the minimum
length of 10 bytes.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
hw/device-assignment.c
hw/pci.h