commit | 97309d3974fd371920cc8b932e2b6b5e4100c7c6 | [log] [tgz] |
---|---|---|
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Wed Jan 04 14:10:32 2012 -0500 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Sat Jan 07 20:35:55 2012 -0500 |
tree | a25ccc64bcc8eedc1a49214bc98a8c1ed3ceedd8 | |
parent | a800651e8893007d3a12bc281f0265f18043c4fa [diff] |
xen/pciback: Move the PCI_DEV_FLAGS_ASSIGNED ops to the "[un|]bind" operation instead of doing it per guest creation/disconnection. Without this we could have potentially unloaded the vf driver from the xen pciback control even if the driver was binded to the xen-pciback. This will hold on to it until the user "unbind"s the PCI device using SysFS. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>