diff options
author | Avi Kivity <avi@redhat.com> | 2011-08-08 16:09:13 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-08 10:22:13 -0500 |
commit | da146d0aadd8438a068886f3f1bc98d20adaaaf3 (patch) | |
tree | 32bbd2a4fbcbf9440322d330b850f1b4182bb71e /hw/virtio-pci.h | |
parent | cb06608e17f8308b45768eaa76a21ecc48e76305 (diff) | |
download | qemu-da146d0aadd8438a068886f3f1bc98d20adaaaf3.zip qemu-da146d0aadd8438a068886f3f1bc98d20adaaaf3.tar.gz qemu-da146d0aadd8438a068886f3f1bc98d20adaaaf3.tar.bz2 |
virtio-pci: convert to memory API
except msix.
[jan: fix build]
[aliguori: fix build]
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio-pci.h')
-rw-r--r-- | hw/virtio-pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio-pci.h b/hw/virtio-pci.h index 1f0de56..5af1c8c 100644 --- a/hw/virtio-pci.h +++ b/hw/virtio-pci.h @@ -21,8 +21,8 @@ typedef struct { PCIDevice pci_dev; VirtIODevice *vdev; + MemoryRegion bar; uint32_t flags; - uint32_t addr; uint32_t class_code; uint32_t nvectors; BlockConf block; |