From: Alex Williamson Date: Tue, 10 May 2011 16:02:39 +0000 (-0600) Subject: KVM: Use pci_store/load_saved_state() around VM device usage X-Git-Tag: v3.0-rc1~326^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8fcfd775523347afe460dc3a0f45d0479e784a2;p=pandora-kernel.git 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 Acked-by: Avi Kivity Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed