官术网_书友最值得收藏!

Getting ready

To use this recipe, we need to have the qemu-img utility installed. If you followed the steps in the first recipe, you should have that covered. To check what image types are supported on your Linux distribution, run the following command:

root@kvm:~# qemu-img -h | grep Supported
Supported formats: bochs vvfat rbd vpc parallels tftp ftp ftps raw https qcow dmg http qcow2 quorum null-aio cloop vdi iscsi null-co vhdx blkverify file vmdk host_cdrom blkdebug host_device sheepdog qed nbd
root@kvm:~#

From the preceding output, we can see that there are many supported images on the test system that we are using. Make sure that your QEMU version supports the raw image type, as it's the default and that is what we are going to use in this recipe. One of the most commonly used image type is qcow2, which supports copy on write, compression, encryption, and snapshotting. We are going to leverage that in later recipes. 

Please note that even though QEMU supports multiple formats, that does not necessarily mean that you can run virtual machines on them. However, qemu-img can be used to convert different images to raw and qcow2 formats. For best performance, use raw or qcow2 image formats.
主站蜘蛛池模板: 汶上县| 确山县| 金溪县| 樟树市| 莱州市| 木兰县| 新源县| 九寨沟县| 永昌县| 竹溪县| 诏安县| 丰宁| 襄樊市| 冀州市| 杭锦后旗| 蒲江县| 东城区| 秦皇岛市| 常德市| 客服| 阳曲县| 新河县| 方正县| 辽中县| 枣阳市| 邵阳县| 五河县| 湖北省| 利川市| 永年县| 潜山县| 吕梁市| 恭城| 子长县| 夹江县| 广昌县| 昌黎县| 织金县| 团风县| 泉州市| 昌都县|