[Libguestfs] [PATCH] builder: Document using 'qemu-img amend' for RHEL 6 compat (RHBZ#1204131).

Richard W.M. Jones rjones at redhat.com
Wed Nov 4 10:13:03 UTC 2015


---
 builder/virt-builder.pod | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod
index 67e017f..545b134 100644
--- a/builder/virt-builder.pod
+++ b/builder/virt-builder.pod
@@ -280,6 +280,12 @@ For ordinary builds, this selects the output format.  The default is I<raw>.
 
 With I<--get-kernel> this specifies the input format.
 
+To create an old-style qcow2 file (for compatibility with RHEL 6 or
+very old qemu E<lt> 1.1), after running virt-builder, use this
+command:
+
+ qemu-img amend -f qcow2 -o compat=0.10 output.qcow2
+
 =item B<--get-kernel> IMAGE
 
 This option extracts the kernel and initramfs from a previously built
-- 
2.5.0




More information about the Libguestfs mailing list