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

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.
主站蜘蛛池模板: 安岳县| 静安区| 磐安县| 高清| 松原市| 博野县| 双鸭山市| 开化县| 托克逊县| 呼图壁县| 布拖县| 长沙市| 平阳县| 康保县| 岳阳市| 沧州市| 工布江达县| 永胜县| 密山市| 太康县| 嵩明县| 许昌市| 扬中市| 尼木县| 宁强县| 塘沽区| 阳高县| 鄂托克前旗| 三门县| 大田县| 扬中市| 安庆市| 康定县| 汪清县| 渭南市| 贡觉县| 甘洛县| 三台县| 赫章县| 景东| 绵竹市|