virtio_balloon: header update
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Jun 2015 10:34:31 +0000 (12:34 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 10 Jun 2015 16:15:05 +0000 (18:15 +0200)
add modern header

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
include/hw/virtio/virtio-balloon.h

index 4ab8f541b08edaf4c89e1ee22c599647567f5352..346a9fdb7d41b165b1bbb129c9f0ca63aec0c068 100644 (file)
 
 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;