qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: anthony@codemonkey.ws
Cc: kwolf@redhat.com, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 04/10] libqos/pci: Enable bus mastering
Date: Wed,  8 May 2013 16:28:58 +0200	[thread overview]
Message-ID: <1368023344-29731-5-git-send-email-kwolf@redhat.com> (raw)
In-Reply-To: <1368023344-29731-1-git-send-email-kwolf@redhat.com>

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
 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

  parent reply	other threads:[~2013-05-08 15:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-08 14:28 [Qemu-devel] [PULL 1.5 00/10] Block patches for 1.5.0-rc1 Kevin Wolf
2013-05-08 14:28 ` [Qemu-devel] [PATCH 01/10] ahci: Don't allow creating slave drives Kevin Wolf
2013-05-08 14:28 ` [Qemu-devel] [PATCH 02/10] de_DE.po: Add missing leading spaces Kevin Wolf
2013-05-08 14:28 ` [Qemu-devel] [PATCH 03/10] ide: Reset BMIDEA bit when the bus master is stopped Kevin Wolf
2013-05-08 14:28 ` Kevin Wolf [this message]
2013-05-08 14:28 ` [Qemu-devel] [PATCH 05/10] qtest: Add IDE test case Kevin Wolf
2013-05-08 14:29 ` [Qemu-devel] [PATCH 06/10] qtest/ide-test: Add simple DMA read/write " Kevin Wolf
2013-05-08 14:29 ` [Qemu-devel] [PATCH 07/10] qtest/ide-test: Test short and long PRDTs Kevin Wolf
2013-05-08 14:29 ` [Qemu-devel] [PATCH 08/10] qemu-iotests: exclude vmdk for test 042 Kevin Wolf
2013-05-08 14:29 ` [Qemu-devel] [PATCH 09/10] qemu-iotests: exclude vmdk and qcow from 043 Kevin Wolf
2013-05-08 14:29 ` [Qemu-devel] [PATCH 10/10] qemu-iotests: fix 017 018 for vmdk Kevin Wolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1368023344-29731-5-git-send-email-kwolf@redhat.com \
    --to=kwolf@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).