Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MtJKj-0007P6-9Q for qemu-devel@nongnu.org; Thu, 01 Oct 2009 06:56:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MtJKd-0007MW-HH for qemu-devel@nongnu.org; Thu, 01 Oct 2009 06:56:24 -0400 Received: from [199.232.76.173] (port=55181 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtJKd-0007MP-AS for qemu-devel@nongnu.org; Thu, 01 Oct 2009 06:56:19 -0400 Received: from smop.co.uk ([81.5.177.201]:60914 helo=mail.smop.co.uk) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MtJKc-0001SD-La for qemu-devel@nongnu.org; Thu, 01 Oct 2009 06:56:19 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.smop.co.uk (Postfix) with ESMTP id 7A1962078E for ; Thu, 1 Oct 2009 11:56:17 +0100 (BST) Received: from mail.smop.co.uk ([127.0.0.1]) by localhost (vasquez.smop.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wi6hphQoVwwt for ; Thu, 1 Oct 2009 11:56:10 +0100 (BST) Received: from ash (ash.smop.co.uk [192.168.101.10]) by mail.smop.co.uk (Postfix) with ESMTP for ; Thu, 1 Oct 2009 11:56:10 +0100 (BST) Date: Thu, 1 Oct 2009 11:56:10 +0100 From: Adrian Bridgett Message-ID: <20091001105610.GA18842@ash.smop.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH] add host_device format description to qemu-img manpage Reply-To: adrian@smop.co.uk List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Converting files using "qemu-img convert" onto logical volumes (or any block device) you need to use the currently undocumented "host_device" format. This patch adds the required documentation to the manpage. Reported-by: Adrian Bridgett Signed-off-by: Adrian Bridgett --- qemu-kvm-0.11.0.orig/qemu-img.texi +++ qemu-kvm-0.11.0/qemu-img.texi @@ -37,6 +37,12 @@ space. Use @code{qemu-img info} to know the real size used by the image or @code{ls -ls} on Unix/Linux. +@item host_device + +Host device format. This format should be used instead of raw when +converting to block devices or other devices where "holes" are not +supported. + @item qcow2 QEMU image format, the most versatile format. Use it to have smaller images (useful if your filesystem does not supports holes, for example Adrian -- bitcube.co.uk - Linux infrastructure consultancy Puppet, Debian, Red Hat, Ubuntu, CentOS, ...