commit | 11608318037f07fe08d64ebcd3f65691cfd77076 | [log] [tgz] |
---|---|---|
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Thu Jan 12 12:06:47 2012 -0500 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Tue Feb 14 08:44:49 2012 -0800 |
tree | 6214ed6b19c652f5191347a9a137eab780af7d57 | |
parent | 6fbf9e7a90862988c278462d85ce9684605a52b2 [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> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>