Revert "virtio: Add PCI memory BAR in addition to PIO BAR"
authorAnthony Liguori <aliguori@us.ibm.com>
Wed, 2 Nov 2011 00:32:21 +0000 (19:32 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 2 Nov 2011 00:32:21 +0000 (19:32 -0500)
This reverts commit 46d95bfec7f9429d5228078219413d7e33496d65.

hw/virtio-pci.c

index 83a4b35..ca5923c 100644 (file)
@@ -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;