xen: register xen pci notifier
authorWeidong Han <weidong.han@intel.com>
Wed, 27 Oct 2010 16:55:04 +0000 (17:55 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 27 Oct 2010 17:56:07 +0000 (18:56 +0100)
commite28c31a96b1570f17731b18e8efabb7308d0c22c
tree5d739fa69be57e8849b2de62f8341b5b5c34e6cd
parentea5b8f73933e34d2b47a65284c46d26d49e7edb9
xen: register xen pci notifier

Register a pci notifier to add (or remove) pci devices to Xen via
hypercalls. Xen needs to know the pci devices present in the system to
handle pci passthrough and even MSI remapping in the initial domain.

Signed-off-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
drivers/xen/Makefile
drivers/xen/pci.c [new file with mode: 0644]
include/xen/interface/physdev.h