From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhJNY-0001PJ-6q for qemu-devel@nongnu.org; Sun, 12 Apr 2015 11:00:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhJNV-00089s-K2 for qemu-devel@nongnu.org; Sun, 12 Apr 2015 11:00:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhJNV-00089X-Cq for qemu-devel@nongnu.org; Sun, 12 Apr 2015 11:00:53 -0400 Date: Sun, 12 Apr 2015 17:00:44 +0200 From: "Michael S. Tsirkin" Message-ID: <1428849904-28953-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH 1/2] virtio_balloon: header update for virtio 1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Cornelia Huck , Rusty Russell , virtualization@lists.linux-foundation.org add modern header. This patch is for virtio 1.0 branch, doesn't apply to master. Signed-off-by: Michael S. Tsirkin --- 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