qemu-img -o 选项参数查看

查看这个选项真是无语了。还把qemu-img.c的源代码看了一下才发现参数。

可以照如下方式查看一下-o支持的参数

qemu-img create -f qcow2 -o ? /tmp/re.txt

输出如下:

size    Virtual disk size

backing_file File name of a base image

backing_fmt Image format of the base image

encryption Encrypt the image

cluster_size qcow2 cluster size

preallocation Preallocation mode( allowed values: off, metadata)



你可能感兴趣的:(image,File,disk)