From: Kevin Wolf Date: Wed, 13 Mar 2013 16:00:40 +0000 (+0100) Subject: libqos/pci: Enable bus mastering X-Git-Tag: v1.5.0-rc1~1^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9f0332b8cf27020d70be92f5e664466f0bcb84ec;p=thirdparty%2Fqemu.git libqos/pci: Enable bus mastering Signed-off-by: Kevin Wolf --- diff --git a/tests/libqos/pci.c b/tests/libqos/pci.c index 95e287be653..7e0907b5141 100644 --- a/tests/libqos/pci.c +++ b/tests/libqos/pci.c @@ -71,7 +71,7 @@ void qpci_device_enable(QPCIDevice *dev) /* FIXME -- does this need to be a bus callout? */ cmd = qpci_config_readw(dev, PCI_COMMAND); - cmd |= PCI_COMMAND_IO | PCI_COMMAND_MEMORY; + cmd |= PCI_COMMAND_IO | PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER; qpci_config_writew(dev, PCI_COMMAND, cmd); }