summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-06-04 12:34:31 +0200
committerMichael S. Tsirkin <mst@redhat.com>2015-06-10 18:15:05 +0200
commitfbdc6892dd8a842a3d86b8315ff56399e0387b74 (patch)
tree8b5d85d8b4984d193c92984bb5d24cf03a7c0503
parent975acc0ae6d60260859884a9235ae3c62e2969a2 (diff)
downloadhqemu-fbdc6892dd8a842a3d86b8315ff56399e0387b74.zip
hqemu-fbdc6892dd8a842a3d86b8315ff56399e0387b74.tar.gz
virtio_balloon: header update
add modern header Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--include/hw/virtio/virtio-balloon.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hw/virtio/virtio-balloon.h b/include/hw/virtio/virtio-balloon.h
index 4ab8f54..346a9fd 100644
--- a/include/hw/virtio/virtio-balloon.h
+++ b/include/hw/virtio/virtio-balloon.h
@@ -25,6 +25,12 @@
typedef struct virtio_balloon_stat VirtIOBalloonStat;
+typedef struct virtio_balloon_stat_modern {
+ uint16_t tag;
+ uint8_t reserved[6];
+ uint64_t val;
+} VirtIOBalloonStatModern;
+
typedef struct VirtIOBalloon {
VirtIODevice parent_obj;
VirtQueue *ivq, *dvq, *svq;
OpenPOWER on IntegriCloud