summaryrefslogtreecommitdiffstats
path: root/include/hw/virtio/virtio.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-06-04 12:34:23 +0200
committerMichael S. Tsirkin <mst@redhat.com>2015-06-10 18:15:05 +0200
commitb8f059081d93f1802480059d1d49fe5c1d32f60c (patch)
tree1e066b355ef4f9a013e18aac4c2840f0fa1bee24 /include/hw/virtio/virtio.h
parentdfb8e184db758bff275f94f7aa634300886cfe21 (diff)
downloadhqemu-b8f059081d93f1802480059d1d49fe5c1d32f60c.zip
hqemu-b8f059081d93f1802480059d1d49fe5c1d32f60c.tar.gz
virtio: generation counter support
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/virtio/virtio.h')
-rw-r--r--include/hw/virtio/virtio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h
index df89913..b9e36f9 100644
--- a/include/hw/virtio/virtio.h
+++ b/include/hw/virtio/virtio.h
@@ -78,6 +78,7 @@ struct VirtIODevice
size_t config_len;
void *config;
uint16_t config_vector;
+ uint32_t generation;
int nvectors;
VirtQueue *vq;
uint16_t device_id;
OpenPOWER on IntegriCloud