Merge "Change qemu-img convert formats"

This commit is contained in:
Jenkins 2015-10-22 07:17:25 +00:00 committed by Gerrit Code Review
commit bc341d7f36

View File

@ -7,9 +7,9 @@
<title>Converting between image formats</title> <title>Converting between image formats</title>
<para>Converting images from one format to another is generally straightforward.</para> <para>Converting images from one format to another is generally straightforward.</para>
<simplesect> <simplesect>
<title>qemu-img convert: raw, qcow2, QED, VDI, VMDK, VHD</title> <title>qemu-img convert: raw, qcow2, qed, vdi, vmdk, vhd</title>
<para>The <command>qemu-img convert</command> command can do conversion between multiple <para>The <command>qemu-img convert</command> command can do conversion between multiple
formats, including qcow2, QED, raw, VDI (VirtualBox), VHD (Hyper-V), and VMDK (VMware).</para> formats, including qcow2, qed, raw, vdi, vhd, and vmdk.</para>
<table <table
rules="all"> rules="all">
<caption>qemu-img format strings</caption> <caption>qemu-img format strings</caption>
@ -22,7 +22,7 @@
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>qcow2 (KVM, Xen)</td> <td>QCOW2 (KVM, Xen)</td>
<td><literal>qcow2</literal></td> <td><literal>qcow2</literal></td>
</tr> </tr>
<tr> <tr>
@ -51,10 +51,10 @@
<para> <para>
<screen><prompt>$</prompt> <userinput>qemu-img convert -f raw -O qcow2 centos7.img centos7.qcow2</userinput></screen> <screen><prompt>$</prompt> <userinput>qemu-img convert -f raw -O qcow2 centos7.img centos7.qcow2</userinput></screen>
</para> </para>
<para>Run the following command to convert a VMDK image file to a raw image file. <para>Run the following command to convert a vmdk image file to a raw image file.
<screen><prompt>$</prompt> <userinput>qemu-img convert -f vmdk -O raw centos7.vmdk centos7.img</userinput></screen> <screen><prompt>$</prompt> <userinput>qemu-img convert -f vmdk -O raw centos7.vmdk centos7.img</userinput></screen>
</para> </para>
<para>Run the following command to convert a VMDK image file to a qcow2 image file. <para>Run the following command to convert a vmdk image file to a qcow2 image file.
<screen><prompt>$</prompt> <userinput>qemu-img convert -f vmdk -O qcow2 centos7.vmdk centos7.qcow2</userinput></screen> <screen><prompt>$</prompt> <userinput>qemu-img convert -f vmdk -O qcow2 centos7.vmdk centos7.qcow2</userinput></screen>
</para> </para>
<para> <para>