summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-sysfs.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2011-05-10 10:02:27 -0600
committerJesse Barnes <jbarnes@virtuousgeek.org>2011-05-21 12:17:09 -0700
commitffbdd3f7931fb7cb7e36d00d16303ec433be5145 (patch)
tree503e1ad819bb3f1d682de24de5271935849ba5ff /drivers/pci/pci-sysfs.c
parent24a4742f0be6226eb0106fbb17caf4d711d1ad43 (diff)
downloadblackbird-obmc-linux-ffbdd3f7931fb7cb7e36d00d16303ec433be5145.tar.gz
blackbird-obmc-linux-ffbdd3f7931fb7cb7e36d00d16303ec433be5145.zip
PCI: Add interfaces to store and load the device saved state
For KVM device assignment, we'd like to save off the state of a device prior to passing it to the guest and restore it later. We also want to allow pci_reset_funciton() to be called while the device is owned by the guest. This however overwrites and invalidates the struct pci_dev buffers, so we can't just manually call save and restore. Add generic interfaces for the saved state to be stored and reloaded back into struct pci_dev at a later time. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pci-sysfs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud