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

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.
主站蜘蛛池模板: 甘洛县| 锡林郭勒盟| 泗水县| 视频| 曲松县| 沂源县| 图片| 佳木斯市| 南城县| 新源县| 宁化县| 钦州市| 阿克| 萍乡市| 涟源市| 盐源县| 舟曲县| 扎鲁特旗| 建瓯市| 米易县| 册亨县| 夹江县| 兴仁县| 民县| 武平县| 通州区| 红原县| 麻城市| 齐齐哈尔市| 朝阳县| 宣化县| 盐津县| 潍坊市| 金塔县| 攀枝花市| 全南县| 白玉县| 敖汉旗| 华亭县| 昌邑市| 绿春县|