提交 fbdc6892 编写于 作者: M Michael S. Tsirkin

virtio_balloon: header update

add modern header
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
上级 975acc0a
...@@ -25,6 +25,12 @@ ...@@ -25,6 +25,12 @@
typedef struct virtio_balloon_stat VirtIOBalloonStat; 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 { typedef struct VirtIOBalloon {
VirtIODevice parent_obj; VirtIODevice parent_obj;
VirtQueue *ivq, *dvq, *svq; VirtQueue *ivq, *dvq, *svq;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册