smm: Don't use PCIDevices list in smm_setup().
commitcdbac7f7f105a30d548dba4af41f7d29e2beaa69
authorKevin O'Connor <kevin@koconnor.net>
Sat, 9 Mar 2013 00:33:39 +0000 (8 19:33 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 9 Mar 2013 00:55:26 +0000 (8 19:55 -0500)
tree91e564ec1e5a6372f771adf0ae7d85803efb610c
parent96d4c438656b01927a2cb97d395f5e286d6195cf
smm: Don't use PCIDevices list in smm_setup().

The smm_setup() call is invoked from resume.  The PCIDevices list is
only valid during POST.  Cache the necessary PCI BDF ids so that
PCIDevices isn't needed.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/paravirt.c
src/smm.c
src/util.h