summaryrefslogtreecommitdiffstats
path: root/include/hw/virtio/virtio-balloon.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/virtio/virtio-balloon.h')
-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