]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commit
pciback: disable MSI/MSI-X when resetting device
authorJan Beulich <jbeulich@novell.com>
Thu, 10 Feb 2011 13:59:02 +0000 (13:59 +0000)
committerJan Beulich <jbeulich@novell.com>
Thu, 10 Feb 2011 13:59:02 +0000 (13:59 +0000)
commit89fbf8d0b38798aee398187e04bee4be5225e0b9
tree648090c213ca53b305623852306c612e1cb29fd5
parent27b2ef53cdd6273c9931ac81ebb1b5d6a0cdbdfd
pciback: disable MSI/MSI-X when resetting device

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

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: Jan Beulich <jbeulich@novell.com>
drivers/xen/pciback/pciback_ops.c