]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
virtio: set pci bus master enable bit
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 29 Nov 2009 15:52:00 +0000 (17:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Apr 2011 14:53:11 +0000 (16:53 +0200)
commitc18fa2893211d4706911d90c8c64c291f08f33e5
tree7cb2ce1f770bf0194bae0a0a813f4a659dd0bc38
parent53a868e5b62c4a203082ab3f2bc2ecd9deed9f12
virtio: set pci bus master enable bit

commit bc505f373979692d51a86d40925f77a8b09d17b9 upstream.

As all virtio devices perform DMA, we
must enable bus mastering for them to be
spec compliant.

This patch fixes hotplug of virtio devices
with Linux guests and qemu 0.11-0.12.

Tested-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Cc: maximilian attems <max@stro.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/virtio/virtio_pci.c