commit | cd9db80e5257682a7f7ab245a2459648b3c8d268 | [log] [tgz] |
---|---|---|
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Wed Jan 04 14:30:58 2012 -0500 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Thu Jan 12 12:00:19 2012 -0500 |
tree | 6162d1b26e3d224aa23173bba1042346d1094aac | |
parent | a96d627abaac899e8bfaf18fd0578b228c9c752f [diff] |
xen/pciback: Support pci_reset_function, aka FLR or D3 support. We use the __pci_reset_function_locked to perform the action. Also on attaching ("bind") and detaching ("unbind") we save and restore the configuration states. When the device is disconnected from a guest we use the "pci_reset_function" to also reset the device before being passed to another guest. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>