projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
975acc0
)
virtio_balloon: header update
author
Michael S. Tsirkin
<mst@redhat.com>
Thu, 4 Jun 2015 10:34:31 +0000
(12:34 +0200)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/include/hw/virtio/virtio-balloon.h
b/include/hw/virtio/virtio-balloon.h
index 4ab8f541b08edaf4c89e1ee22c599647567f5352..346a9fdb7d41b165b1bbb129c9f0ca63aec0c068 100644
(file)
--- 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;