0a122b
From af46a6d4f31243a842661383dc02548a1b1a3387 Mon Sep 17 00:00:00 2001
0a122b
From: Jeffrey Cody <jcody@redhat.com>
0a122b
Date: Mon, 13 Jan 2014 20:53:20 +0100
0a122b
Subject: [PATCH 13/16] docs: updated qemu-img man page and qemu-doc to reflect VHDX support.
0a122b
0a122b
RH-Author: Jeffrey Cody <jcody@redhat.com>
0a122b
Message-id: <8e219e849b375a123cef62478edc843bb4439841.1389633864.git.jcody@redhat.com>
0a122b
Patchwork-id: 56644
0a122b
O-Subject: [RHEL7 qemu-kvm PATCH] docs: updated qemu-img man page and qemu-doc to reflect VHDX support.
0a122b
Bugzilla: 1017650
0a122b
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
0a122b
RH-Acked-by: Kevin Wolf <kwolf@redhat.com>
0a122b
RH-Acked-by: Fam Zheng <famz@redhat.com>
0a122b
0a122b
The man page for qemu-img, and the qemu-doc, did not mention VHDX
0a122b
as a supported format.  This adds in reference to VHDX in those
0a122b
documents.
0a122b
0a122b
[Stefan Weil <sw@weilnetz.de> suggested s/Block Size/Block size/ for
0a122b
consistency.  I have made this change.
0a122b
--Stefan]
0a122b
0a122b
Signed-off-by: Jeff Cody <jcody@redhat.com>
0a122b
Reviewed-by: Stefan Weil <sw@weilnetz.de>
0a122b
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
0a122b
(cherry picked from commit 8282db1b2e7394574cb55fcc608c5cb0df159d8f)
0a122b
0a122b
BZ 1017650
0a122b
Brew: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=6861830
0a122b
0a122b
Signed-off-by: Jeff Cody <jcody@redhat.com>
0a122b
---
0a122b
 qemu-doc.texi | 15 +++++++++++++++
0a122b
 qemu-img.texi |  4 ++--
0a122b
 2 files changed, 17 insertions(+), 2 deletions(-)
0a122b
0a122b
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
0a122b
---
0a122b
 qemu-doc.texi |   15 +++++++++++++++
0a122b
 qemu-img.texi |    4 ++--
0a122b
 2 files changed, 17 insertions(+), 2 deletions(-)
0a122b
0a122b
diff --git a/qemu-doc.texi b/qemu-doc.texi
0a122b
index 5fc0eae..319c2f2 100644
0a122b
--- a/qemu-doc.texi
0a122b
+++ b/qemu-doc.texi
0a122b
@@ -654,6 +654,21 @@ Supported options:
0a122b
 Specifies which VHD subformat to use. Valid options are
0a122b
 @code{dynamic} (default) and @code{fixed}.
0a122b
 @end table
0a122b
+
0a122b
+@item VHDX
0a122b
+Hyper-V compatible image format (VHDX).
0a122b
+Supported options:
0a122b
+@table @code
0a122b
+@item subformat
0a122b
+Specifies which VHDX subformat to use. Valid options are
0a122b
+@code{dynamic} (default) and @code{fixed}.
0a122b
+@item block_state_zero
0a122b
+Force use of payload blocks of type 'ZERO'.
0a122b
+@item block_size
0a122b
+Block size; min 1 MB, max 256 MB.  0 means auto-calculate based on image size.
0a122b
+@item log_size
0a122b
+Log size; min 1 MB.
0a122b
+@end table
0a122b
 @end table
0a122b
 
0a122b
 @subsubsection Read-only formats
0a122b
diff --git a/qemu-img.texi b/qemu-img.texi
0a122b
index da36975..a71f132 100644
0a122b
--- a/qemu-img.texi
0a122b
+++ b/qemu-img.texi
0a122b
@@ -427,8 +427,8 @@ This option can only be enabled if @code{compat=1.1} is specified.
0a122b
 
0a122b
 @item Other
0a122b
 QEMU also supports various other image file formats for compatibility with
0a122b
-older QEMU versions or other hypervisors, including VMDK, VDI, VHD (vpc), qcow1
0a122b
-and QED. For a full list of supported formats see @code{qemu-img --help}.
0a122b
+older QEMU versions or other hypervisors, including VMDK, VDI, VHD (vpc), VHDX,
0a122b
+qcow1 and QED. For a full list of supported formats see @code{qemu-img --help}.
0a122b
 For a more detailed description of these formats, see the QEMU Emulation User
0a122b
 Documentation.
0a122b
 
0a122b
-- 
0a122b
1.7.1
0a122b