Received: from eggs.gnu.org ([208.118.235.92]:60363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvVHX-0000JJ-VH for qemu-devel@nongnu.org; Wed, 16 Jan 2013 10:52:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvVHV-0005st-5v for qemu-devel@nongnu.org; Wed, 16 Jan 2013 10:52:03 -0500 Received: from nodalink.pck.nerim.net ([62.212.105.220]:43019 helo=paradis.irqsave.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvVHU-0005si-U7 for qemu-devel@nongnu.org; Wed, 16 Jan 2013 10:52:01 -0500 From: =?UTF-8?q?Beno=C3=AEt=20Canet?= Date: Wed, 16 Jan 2013 16:48:26 +0100 Message-Id: <1358351321-4891-48-git-send-email-benoit@irqsave.net> In-Reply-To: <1358351321-4891-1-git-send-email-benoit@irqsave.net> References: <1358351321-4891-1-git-send-email-benoit@irqsave.net> Subject: [Qemu-devel] [RFC V5 47/62] block: Add deduplication metrics to BlockDriverInfo. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Beno=C3=AEt=20Canet?= , stefanha@redhat.com --- include/block/block.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/block/block.h b/include/block/block.h index 16e1cf1..2043560 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -29,6 +29,9 @@ typedef struct BlockDriverInfo { /* offset at which the VM state can be saved (0 if not possible) */ int64_t vm_state_offset; bool is_dirty; + bool has_dedup; + bool dedup_running; + BlockDeduplicationMetrics dedup_metrics; } BlockDriverInfo; typedef struct BlockFragInfo { -- 1.7.10.4