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

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.
主站蜘蛛池模板: 灵宝市| 安化县| 砚山县| 盱眙县| 南部县| 卓尼县| 建湖县| 扎兰屯市| 方正县| 开封县| 永修县| 永安市| 汽车| 大埔区| 勐海县| 古浪县| 梅州市| 昆山市| 花莲县| 北流市| 徐汇区| 万山特区| 枣阳市| 河源市| 汉沽区| 五家渠市| 沂南县| 肃宁县| 邓州市| 綦江县| 台湾省| 西吉县| 遂平县| 喜德县| 全南县| 高青县| 资阳市| 体育| 平原县| 西峡县| 孙吴县|