Skip to contentSkip to conversation

docs: updated qemu-img man page and qemu-doc to reflect VHDX support.

PATCH Superseded Jeff Cody 2 participants 3 messages Dec 17, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jeff Cody

author
#0 lore raw

PATCH 1/1 docs: updated qemu-img man page and qemu-doc to reflect VHDX support.

The man page for qemu-img, and the qemu-doc, did not mention VHDX as a supported format. This adds in reference to VHDX in those documents.

---
 qemu-doc.texi | 15 +++++++++++++++
 qemu-img.texi |  4 ++--
 2 files changed, 17 insertions(+), 2 deletions(-)
qemu-doc.texi +15 -0
index 185dd47..10b4ae9 100644
@@ -654,6 +654,21 @@ Supported options:
 Specifies which VHD subformat to use. Valid options are
 @code{dynamic} (default) and @code{fixed}.
 @end table
+
+@item VHDX
+Hyper-V compatible image format (VHDX).
+Supported options:
+@table @code
+@item subformat
+Specifies which VHDX subformat to use. Valid options are
+@code{dynamic} (default) and @code{fixed}.
+@item block_state_zero
+Force use of payload blocks of type 'ZERO'.
+@item block_size
+Block Size; min 1MB, max 256MB.  0 means auto-calculate based on image size.
+@item log_size
+Log size; min 1MB.
+@end table
 @end table
 
 @subsubsection Read-only formats
qemu-img.texi +2 -2
index be31191..1bba91e 100644
@@ -431,8 +431,8 @@ This option can only be enabled if @code{compat=1.1} is specified.
 
 @item Other
 QEMU also supports various other image file formats for compatibility with
-older QEMU versions or other hypervisors, including VMDK, VDI, VHD (vpc), qcow1
-and QED. For a full list of supported formats see @code{qemu-img --help}.
+older QEMU versions or other hypervisors, including VMDK, VDI, VHD (vpc), VHDX,
+qcow1 and QED. For a full list of supported formats see @code{qemu-img --help}.
 For a more detailed description of these formats, see the QEMU Emulation User
 Documentation.
 
Signature · 1 line
1.8.3.1
Reviewed-by on v1 1/1
#1 lore raw

Am 17.12.2013 19:41, schrieb Jeff Cody:

Quoted 20 lines

The man page for qemu-img, and the qemu-doc, did not mention VHDX as a supported format. This adds in reference to VHDX in those documents.

---
 qemu-doc.texi | 15 +++++++++++++++
 qemu-img.texi |  4 ++--
 2 files changed, 17 insertions(+), 2 deletions(-)
qemu-doc.texi +2 -0
index 185dd47..10b4ae9 100644
@@ -654,6 +654,21 @@ Supported options:
 Specifies which VHD subformat to use. Valid options are
 @code{dynamic} (default) and @code{fixed}.
 @end table
+
+@item VHDX

qemu-doc.texi Supported options: · line 668

Quoted 10 lines
qemu-doc.texi +10 -0
+Hyper-V compatible image format (VHDX).
+Supported options:
+@table @code
+@item subformat
+Specifies which VHDX subformat to use. Valid options are
+@code{dynamic} (default) and @code{fixed}.
+@item block_state_zero
+Force use of payload blocks of type 'ZERO'.
+@item block_size
+Block Size; min 1MB, max 256MB.  0 means auto-calculate based on image size.

Please add blanks: 1 MB, max 256 MB.

qemu-doc.texi Supported options: · line 670

Quoted 2 lines
qemu-doc.texi +2 -0
+@item log_size
+Log size; min 1MB.

1 MB

Quoted 9 lines
qemu-doc.texi +1 -0
+@end table
 @end table
 
 @subsubsection Read-only formats
qemu-img.texi +0 -0
index be31191..1bba91e 100644

qemu-img.texi This option can only be enabled if @code{compat=1.1} is specified. · line 437

Quoted 9 lines
qemu-img.texi +2 -2
@@ -431,8 +431,8 @@ This option can only be enabled if @code{compat=1.1} is specified.
 
 @item Other
 QEMU also supports various other image file formats for compatibility with
-older QEMU versions or other hypervisors, including VMDK, VDI, VHD (vpc), qcow1
-and QED. For a full list of supported formats see @code{qemu-img --help}.
+older QEMU versions or other hypervisors, including VMDK, VDI, VHD (vpc), VHDX,
+qcow1 and QED. For a full list of supported formats see @code{qemu-img --help}.
 For a more detailed description of these formats, see the QEMU Emulation User
 Documentation.

Otherwise okay. I appreciate efforts to improve the documentation.

author
#2 lore raw
Quoted 34 lines · Stefan Weil

Am 17.12.2013 19:41, schrieb Jeff Cody:

Quoted 20 lines

The man page for qemu-img, and the qemu-doc, did not mention VHDX as a supported format. This adds in reference to VHDX in those documents.

---
 qemu-doc.texi | 15 +++++++++++++++
 qemu-img.texi |  4 ++--
 2 files changed, 17 insertions(+), 2 deletions(-)
qemu-doc.texi +2 -0
index 185dd47..10b4ae9 100644
@@ -654,6 +654,21 @@ Supported options:
 Specifies which VHD subformat to use. Valid options are
 @code{dynamic} (default) and @code{fixed}.
 @end table
+
+@item VHDX

qemu-doc.texi Supported options: · line 668

Quoted 10 lines
qemu-doc.texi +10 -0
+Hyper-V compatible image format (VHDX).
+Supported options:
+@table @code
+@item subformat
+Specifies which VHDX subformat to use. Valid options are
+@code{dynamic} (default) and @code{fixed}.
+@item block_state_zero
+Force use of payload blocks of type 'ZERO'.
+@item block_size
+Block Size; min 1MB, max 256MB.  0 means auto-calculate based on image size.

Please add blanks: 1 MB, max 256 MB.

Quoted 5 lines

qemu-doc.texi Supported options: · line 670

Quoted 2 lines
qemu-doc.texi +2 -0
+@item log_size
+Log size; min 1MB.

1 MB

OK, thanks.

Quoted 23 lines
Quoted 9 lines
qemu-doc.texi +1 -0
+@end table
 @end table
 
 @subsubsection Read-only formats
qemu-img.texi +0 -0
index be31191..1bba91e 100644

qemu-img.texi This option can only be enabled if @code{compat=1.1} is specified. · line 437

Quoted 9 lines
qemu-img.texi +2 -2
@@ -431,8 +431,8 @@ This option can only be enabled if @code{compat=1.1} is specified.
 
 @item Other
 QEMU also supports various other image file formats for compatibility with
-older QEMU versions or other hypervisors, including VMDK, VDI, VHD (vpc), qcow1
-and QED. For a full list of supported formats see @code{qemu-img --help}.
+older QEMU versions or other hypervisors, including VMDK, VDI, VHD (vpc), VHDX,
+qcow1 and QED. For a full list of supported formats see @code{qemu-img --help}.
 For a more detailed description of these formats, see the QEMU Emulation User
 Documentation.

Otherwise okay. I appreciate efforts to improve the documentation.