1. Convert an image from QCOW2 to RAW
# qemu-img convert -f qcow2 -O raw \
    ~/CentOS-7-x86_64.qcow2 \
    ~/CentOS-7-x86_64.raw

2. Convert an image from RAW to QCOW2
# qemu-img convert -f raw -O qcow2 \
    ~/CentOS-7-x86_64.raw \
    ~/CentOS-7-x86_64.qcow2

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()