pcie: modify the capability size assert
commit79095ef717957e24dbcba026bb21f5990ceace88
authorChen Fan <chen.fan.fnst@cn.fujitsu.com>
Fri, 19 Feb 2016 16:42:27 +0000 (19 09:42 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 19 Feb 2016 16:42:27 +0000 (19 09:42 -0700)
tree4140efb447ea31c811c44c514e18bb66548d4017
parent1b3337bb1d1c3125a2140c47629f36540ac57605
pcie: modify the capability size assert

Device's Offset and size can reach PCIE_CONFIG_SPACE_SIZE,
fix the corresponding assert.

Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/pci/pcie.c