vfio/pci: Cache vendor and device ID
commitff635e3775447b7e797f1bad8cf33403199faba1
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 23 Sep 2015 19:04:49 +0000 (23 13:04 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 23 Sep 2015 19:04:49 +0000 (23 13:04 -0600)
tree875770cc2293e4e12019607980bee09009163092
parentc9c5000991148383d628aac59f1593937be572e4
vfio/pci: Cache vendor and device ID

Simplify access to commonly referenced PCI vendor and device ID by
caching it on the VFIOPCIDevice struct.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci-quirks.c
hw/vfio/pci.c
hw/vfio/pci.h