summaryrefslogtreecommitdiffstats
path: root/drivers/pci/setup-bus.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2011-05-10 10:02:39 -0600
committerJesse Barnes <jbarnes@virtuousgeek.org>2011-05-21 12:17:10 -0700
commitf8fcfd775523347afe460dc3a0f45d0479e784a2 (patch)
tree8c7c5e0ece50b8661cae34ee1a6734144fce7594 /drivers/pci/setup-bus.c
parentffbdd3f7931fb7cb7e36d00d16303ec433be5145 (diff)
downloadop-kernel-dev-f8fcfd775523347afe460dc3a0f45d0479e784a2.zip
op-kernel-dev-f8fcfd775523347afe460dc3a0f45d0479e784a2.tar.gz
KVM: Use pci_store/load_saved_state() around VM device usage
Store the device saved state so that we can reload the device back to the original state when it's unassigned. This has the benefit that the state survives across pci_reset_function() calls via the PCI sysfs reset interface while the VM is using the device. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Acked-by: Avi Kivity <avi@redhat.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/setup-bus.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud