e36d00d16303ec433be5145 author Alex Williamson 1305043359 -0600 committer Jesse Barnes 1306005430 -0700 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 ð§ñ#ž5x