aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-11-01 19:32:21 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-01 19:32:21 -0500
commitb0eb8449f2cb32ef96dfd4df3261088463ebfaa7 (patch)
tree6de1db36d0e32762d0aa184d6ac02e17f0c55a1b /hw
parent8aceefd77c2bb5af02759d11eb836c42ad9e720d (diff)
Revert "virtio: Add PCI memory BAR in addition to PIO BAR"
This reverts commit 46d95bfec7f9429d5228078219413d7e33496d65.
Diffstat (limited to 'hw')
-rw-r--r--hw/virtio-pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
index 83a4b358f5..ca5923c495 100644
--- a/hw/virtio-pci.c
+++ b/hw/virtio-pci.c
@@ -654,8 +654,6 @@ void virtio_init_pci(VirtIOPCIProxy *proxy, VirtIODevice *vdev)
"virtio-pci", size);
pci_register_bar(&proxy->pci_dev, 0, PCI_BASE_ADDRESS_SPACE_IO,
&proxy->bar);
- pci_register_bar(&proxy->pci_dev, 2, PCI_BASE_ADDRESS_SPACE_MEMORY,
- &proxy->bar);
if (!kvm_has_many_ioeventfds()) {
proxy->flags &= ~VIRTIO_PCI_FLAG_USE_IOEVENTFD;