Revert "virtio: Add PCI memory BAR in addition to PIO BAR"

This reverts commit 46d95bfec7.
master
Anthony Liguori 2011-11-01 19:32:21 -05:00
parent 8aceefd77c
commit b0eb8449f2
1 changed files with 0 additions and 2 deletions

View 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;