virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] virtio_balloon: header update for virtio 1
@ 2015-04-12 15:00 Michael S. Tsirkin
  2015-04-12 15:00 ` [PATCH 2/2] virtio-balloon: virtio 1 support Michael S. Tsirkin
       [not found] ` <1428849904-28953-2-git-send-email-mst@redhat.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Michael S. Tsirkin @ 2015-04-12 15:00 UTC (permalink / raw)
  To: qemu-devel; +Cc: virtualization

add modern header.
This patch is for virtio 1.0 branch, doesn't
apply to master.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 include/hw/virtio/virtio-balloon.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/hw/virtio/virtio-balloon.h b/include/hw/virtio/virtio-balloon.h
index f863bfe..79eca67 100644
--- a/include/hw/virtio/virtio-balloon.h
+++ b/include/hw/virtio/virtio-balloon.h
@@ -56,6 +56,12 @@ typedef struct VirtIOBalloonStat {
     uint64_t val;
 } QEMU_PACKED 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;
-- 
MST

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-04-13 14:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-12 15:00 [PATCH 1/2] virtio_balloon: header update for virtio 1 Michael S. Tsirkin
2015-04-12 15:00 ` [PATCH 2/2] virtio-balloon: virtio 1 support Michael S. Tsirkin
     [not found] ` <1428849904-28953-2-git-send-email-mst@redhat.com>
2015-04-13  8:02   ` Cornelia Huck
2015-04-13 11:26     ` Michael S. Tsirkin
2015-04-13 11:35       ` Cornelia Huck
2015-04-13 11:49         ` Michael S. Tsirkin
2015-04-13 12:15           ` Cornelia Huck
2015-04-13 14:20       ` Cornelia Huck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).