From Fedora Project Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 127: Line 127:
* Backing files (<code>-o backing_file=file</code>). The new image is based on the given backing file and only differences are saved into the qcow2 file. Try usinh different formats for the backing file, it doesn't need to be qcow2.
* Backing files (<code>-o backing_file=file</code>). The new image is based on the given backing file and only differences are saved into the qcow2 file. Try usinh different formats for the backing file, it doesn't need to be qcow2.
* Commit back the changes from a qcow2 image to its backing file (<code>qemu-img commit</code> or the <code>commit</code> command in the qemu monitor)
* Commit back the changes from a qcow2 image to its backing file (<code>qemu-img commit</code> or the <code>commit</code> command in the qemu monitor)
* Snapshots: You can either snapshot the disk of a turned off VM (<code>qemu-img snapshot -c my_snapshot disk.qcow2</code>) or use the qemu monitor to save the state of a running VM (<code>savevm my_snapshot</code>). In the former case, you can revert the disk to the saved state using <code>qemu-img snapshot -a my_snapshot.qcow2</code>. Using the qemu monitor (<code>loadvm my_snapshot</code>) you restore the complete VM state as it was when you saved the snapshot. Alternatively, you can also use the -loadvm option on the qemu command line to start a VM using a previously saved snapshot.
* Compressed images: When converting an image, you can have the resulting qcow2 image compressed (<code>qemu-img convert -O qcow2 -c ...</code>)
* Compressed images: When converting an image, you can have the resulting qcow2 image compressed (<code>qemu-img convert -O qcow2 -c ...</code>)
* Combine things: Snapshots on an encrypted image with a compressed backing file...
* Combine things: Snapshots on an encrypted image with a compressed backing file...
If you suspect that something has gone wrong with your image and you want to check it, you can try <code>qemu-img check disk.qcow2</code>.


=== Issues that were identified ===
=== Issues that were identified ===
Line 138: Line 135:
|-style="color: white; background-color: #3074c2; font-weight: bold"  
|-style="color: white; background-color: #3074c2; font-weight: bold"  
| Tester || Description || Bug references || Status
| Tester || Description || Bug references || Status
|-
|-  
| phan || VM cannot boot from the disk converted by qemu-img || [http://bugzilla.redhat.com/523948 #523948] || '''NEEDINFO'''
| || || [http://bugzilla.redhat.com/XXXXXX #XXXXX] || '''ASSIGNED'''
|-
|}
| jbao ||  VM cannot boot from the backing disk img || [http://bugzilla.redhat.com/525362 #525362] || '''NEEDINFO'''
|
 


[[Category:Fedora_12_Test_Days]]
[[Category:Test Days]]
[[Category:Virtualization]]
[[Category:Virtualization]]
Please note that all contributions to Fedora Project Wiki are considered to be released under the Attribution-Share Alike 4.0 International (see Fedora Project Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please solve the following task below and enter the answer in the box (more info):

Cancel Editing help (opens in new window)