xen/pciback: Disable MSI/MSI-X when reseting a device
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 3 Mar 2010 18:38:43 +0000 (13:38 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 20 Jul 2011 00:58:31 +0000 (20:58 -0400)
commita2be65fd363831502afdf0babdf48149b3959cde
tree07d69e95d8abb66eca6c13e59ee22dd1e6b6bb20
parentfd5b221b348adf63d413de9adad030e4f13664b7
xen/pciback: Disable MSI/MSI-X when reseting a device

In cases where the guest is abruptly killed and has not disabled
MSI/MSI-X interrupts we want to do it for it.

Otherwise when the guest is started up and enables MSI, we would
get a WARN() that the device already had been enabled.

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