summaryrefslogtreecommitdiffstats
path: root/hw/virtio/virtio-pci.h
diff options
context:
space:
mode:
authorGerd Hoffmann2015-06-04 12:34:37 +0200
committerMichael S. Tsirkin2015-06-10 18:15:06 +0200
commitfc004905c5b4b7568aad50087c156a5f4dfae1a7 (patch)
tree709004c969efb4338f8132aa73a994f407e18aa2 /hw/virtio/virtio-pci.h
parentvirtio-pci: move virtio_pci_add_mem_cap call to virtio_pci_modern_region_map (diff)
downloadqemu-fc004905c5b4b7568aad50087c156a5f4dfae1a7.tar.gz
qemu-fc004905c5b4b7568aad50087c156a5f4dfae1a7.tar.xz
qemu-fc004905c5b4b7568aad50087c156a5f4dfae1a7.zip
virtio-pci: move cap type to VirtIOPCIRegion
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio/virtio-pci.h')
-rw-r--r--hw/virtio/virtio-pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/virtio/virtio-pci.h b/hw/virtio/virtio-pci.h
index f5829b07a5..ea1343ded3 100644
--- a/hw/virtio/virtio-pci.h
+++ b/hw/virtio/virtio-pci.h
@@ -94,6 +94,7 @@ typedef struct VirtioPCIClass {
typedef struct VirtIOPCIRegion {
MemoryRegion mr;
uint32_t offset;
+ uint32_t type;
} VirtIOPCIRegion;
struct VirtIOPCIProxy {