raw转qcow2

raw转qcow2命令 : qemu-img convert -f raw test.img -O qcow2 test.img.qcow2
转晚之后,还需要virsh edit test,修改里面的磁盘type为qcow2.

<driver name='qemu' type='raw'/> 修改为<driver name='qemu' type='qcow2'/>

posted @ 2016-11-19 16:28  Entropy_lxl  阅读(2272)  评论(1编辑  收藏  举报