]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/pciback: Fix "device has been assigned to X domain!" warning
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 4 Jan 2012 20:11:02 +0000 (15:11 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 2 Feb 2012 19:23:31 +0000 (14:23 -0500)
commitf509e85f7178c7c2e30bddf5778ad278ac0fbd91
treeb5c54e0819a44ba5fe7c28fa639bbc0c6fd8d710
parentc71223b0ce39cb21ed6a82a4d6a2ae19592a9d73
xen/pciback: Fix "device has been assigned to X domain!" warning

The full warning is:
"pciback 0000:05:00.0: device has been assigned to 2 domain! Over-writting the ownership, but beware."

which is correct - the previous domain that was using the device
forgot to unregister the ownership. This patch fixes this by
calling the unregister ownership function when the PCI device is
relinquished from the guest domain.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xen-pciback/pci_stub.c