qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Documentation: Warn against qemu-img on active image
@ 2012-08-16  9:00 Kevin Wolf
  2012-08-16 10:00 ` Peter Maydell
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin Wolf @ 2012-08-16  9:00 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf

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 <kwolf@redhat.com>
---
 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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-08-16 13:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-16  9:00 [Qemu-devel] [PATCH] Documentation: Warn against qemu-img on active image Kevin Wolf
2012-08-16 10:00 ` Peter Maydell
2012-08-16 12:56   ` Eric Blake
2012-08-16 13:35     ` Kevin Wolf
2012-08-16 13:49       ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).