diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-06-04 12:34:31 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-06-10 18:15:05 +0200 |
commit | fbdc6892dd8a842a3d86b8315ff56399e0387b74 (patch) | |
tree | 8b5d85d8b4984d193c92984bb5d24cf03a7c0503 | |
parent | 975acc0ae6d60260859884a9235ae3c62e2969a2 (diff) | |
download | hqemu-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.h | 6 |
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; |