From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ua0uS-0001WI-7t for qemu-devel@nongnu.org; Wed, 08 May 2013 05:43:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ua0uP-0005a4-Ed for qemu-devel@nongnu.org; Wed, 08 May 2013 05:43:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ua0uP-0005Zo-6S for qemu-devel@nongnu.org; Wed, 08 May 2013 05:43:37 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r489haqJ013290 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 8 May 2013 05:43:36 -0400 From: Kevin Wolf Date: Wed, 8 May 2013 11:43:23 +0200 Message-Id: <1368006206-2602-3-git-send-email-kwolf@redhat.com> In-Reply-To: <1368006206-2602-1-git-send-email-kwolf@redhat.com> References: <1368006206-2602-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 2/5] libqos/pci: Enable bus mastering List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@redhat.com Signed-off-by: Kevin Wolf --- tests/libqos/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libqos/pci.c b/tests/libqos/pci.c index 95e287b..7e0907b 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); } -- 1.8.1.4