From: Michael S. Tsirkin Date: Thu, 24 Jun 2010 04:49:06 +0000 (-0600) Subject: virtio-pci: disable msi at startup X-Git-Tag: v2.6.35-rc4~59^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b03214d559471359e2a85ae256686381d0672f29;p=pandora-kernel.git virtio-pci: disable msi at startup virtio-pci resets the device at startup by writing to the status register, but this does not clear the pci config space, specifically msi enable status which affects register layout. This breaks things like kdump when they try to use e.g. virtio-blk. Fix by forcing msi off at startup. Since pci.c already has a routine to do this, we export and use it instead of duplicating code. Signed-off-by: Michael S. Tsirkin Tested-by: Vivek Goyal Acked-by: Jesse Barnes Cc: linux-pci@vger.kernel.org Signed-off-by: Rusty Russell Cc: stable@kernel.org --- Reading git-diff-tree failed