From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StK4I-0008L4-BU for qemu-devel@nongnu.org; Mon, 23 Jul 2012 10:57:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1StK4C-0007yL-Jw for qemu-devel@nongnu.org; Mon, 23 Jul 2012 10:57:06 -0400 Received: from mail-bk0-f45.google.com ([209.85.214.45]:40694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StK4C-0007yF-D4 for qemu-devel@nongnu.org; Mon, 23 Jul 2012 10:57:00 -0400 Received: by bkcji1 with SMTP id ji1so4546193bkc.4 for ; Mon, 23 Jul 2012 07:56:59 -0700 (PDT) From: benoit.canet@gmail.com Date: Mon, 23 Jul 2012 16:56:52 +0200 Message-Id: <1343055415-24767-1-git-send-email-benoit@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 0/3] Show files ancestors count in HMP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@gmail.com, =?UTF-8?q?Beno=C3=AEt=20Canet?= , stefanha@linux.vnet.ibm.com, pbonzini@redhat.com From: Benoît Canet In some setups many backing files and snapshot are chained. This lead to the formation of huge trees of snapshots all depending on a common ancestor. Hence if something bad happen to this common ancestor all the snapshot of the tree will be broken. This patch add an easy way for the user to monitor backing file ancestors count and take the good decision (streaming). Benoît Canet (3): block: Add bdrv_are_busy() qerror: Add error telling that block dev usage prevents migration migration: block migration when any of the block device is busy block.c | 13 +++++++++++++ block.h | 2 ++ migration.c | 5 +++++ qerror.c | 4 ++++ qerror.h | 3 +++ 5 files changed, 27 insertions(+) -- 1.7.9.5