summaryrefslogtreecommitdiff
path: root/hw/virtio-pci.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2011-11-02 02:16:34 +0400
committermalc <av1474@comtv.ru>2011-11-02 02:16:34 +0400
commitef26ee0e6c67d415f8b22850f9f13a972ada8be1 (patch)
treec18a9cc2a9f213c8a37473f9b7aa001a99898547 /hw/virtio-pci.c
parentdd7b25b5b47df8aaf5580faaf3f60b2a1b779c37 (diff)
parente1c2008af64487e7d3cec615612b7f467ebe9bc8 (diff)
downloadqemu-ef26ee0e6c67d415f8b22850f9f13a972ada8be1.tar.gz
qemu-ef26ee0e6c67d415f8b22850f9f13a972ada8be1.tar.bz2
qemu-ef26ee0e6c67d415f8b22850f9f13a972ada8be1.zip
Merge branch 'master' of git://git.qemu.org/qemu
Diffstat (limited to 'hw/virtio-pci.c')
-rw-r--r--hw/virtio-pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
index ca5923c495..83a4b358f5 100644
--- a/hw/virtio-pci.c
+++ b/hw/virtio-pci.c
@@ -654,6 +654,8 @@ 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;