shadow: Don't use PCIDevices list in make_bios_readonly().
commit96d4c438656b01927a2cb97d395f5e286d6195cf
authorKevin O'Connor <kevin@koconnor.net>
Sat, 9 Mar 2013 00:31:14 +0000 (8 19:31 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 9 Mar 2013 00:55:26 +0000 (8 19:55 -0500)
treedcc2363d77bcfb31900bf2987b6081aef0503955
parentdc15c8d5d3ab012e4c5b27e7703aca59c4c19ef1
shadow: Don't use PCIDevices list in make_bios_readonly().

The make_bios_readonly() 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/shadow.c