From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1vwf-0003T9-Rp for qemu-devel@nongnu.org; Thu, 16 Aug 2012 05:00:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1vwW-0000R9-68 for qemu-devel@nongnu.org; Thu, 16 Aug 2012 05:00:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1vwV-0000P6-Tm for qemu-devel@nongnu.org; Thu, 16 Aug 2012 05:00:40 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7G90cLs013645 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 16 Aug 2012 05:00:38 -0400 From: Kevin Wolf Date: Thu, 16 Aug 2012 11:00:32 +0200 Message-Id: <1345107632-10460-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH] Documentation: Warn against qemu-img on active image List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com People have repeatedly expected that you can do things like snapshotting an image with qemu-img while a qemu instance is running. Maybe we need to consider locking the files while they are in use, but having a warning in the qemu-img manpage is doable for 1.2 and can't hurt anyway. Signed-off-by: Kevin Wolf --- qemu-img.texi | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/qemu-img.texi b/qemu-img.texi index 77c6d0b..0b363e7 100644 --- a/qemu-img.texi +++ b/qemu-img.texi @@ -4,6 +4,14 @@ usage: qemu-img command [command options] @c man end @end example +@c man begin DESCRIPTION +qemu-img allows to create, convert and modify images offline. It can handle all +image formats supported by QEMU. + +@b{Warning:} Never use qemu-img to modify images in use by a running virtual +machine or any other process, this may destroy the image. +@c man end + @c man begin OPTIONS The following commands are supported: -- 1.7.6.5