From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2SAX-00026C-T6 for qemu-devel@nongnu.org; Fri, 17 Aug 2012 15:25:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2SAX-0002xz-3F for qemu-devel@nongnu.org; Fri, 17 Aug 2012 15:25:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2SAW-0002xo-SG for qemu-devel@nongnu.org; Fri, 17 Aug 2012 15:25:17 -0400 From: Kevin Wolf Date: Fri, 17 Aug 2012 21:25:07 +0200 Message-Id: <1345231508-7633-4-git-send-email-kwolf@redhat.com> In-Reply-To: <1345231508-7633-1-git-send-email-kwolf@redhat.com> References: <1345231508-7633-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 3/4] Documentation: Warn against qemu-img on active image List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony@codemonkey.ws Cc: kwolf@redhat.com, qemu-devel@nongnu.org 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..77b2c47 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 you 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