xen/pciback: Register the owner (domain) of the PCI device.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 9 Dec 2009 22:43:15 +0000 (17:43 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 20 Jul 2011 00:58:29 +0000 (20:58 -0400)
commit6221a9b2a11acfb54e7b41da425e961b31e88553
treecea7181fabd0f3baacb50cbc67c87d58ff17e7ec
parent8bfd4e023f5fb5793d7d7483b6e17e04933c53e9
xen/pciback: Register the owner (domain) of the PCI device.

When the front-end and back-end start negotiating we register
the domain that will use the PCI device. Furthermore during shutdown
of guest or unbinding of the PCI device (and unloading of module)
from pciback we unregister the domain owner.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/xen/xen-pciback/pci_stub.c
drivers/xen/xen-pciback/xenbus.c