标签:
默认情况下,kvm环境 virt-manager创建的虚机,磁盘格式为raw;如果要修改默认格式,见下图
# more /root/.gconf/apps/virt-manager/new-vm/%gconf.xml <?xml version="1.0"?> <gconf> <entry name="storage-format" mtime="1414739356" type="string"> <stringvalue>qcow2</stringvalue> </entry> </gconf> |
# qemu-img info /var/lib/libvirt/images/test.img image: /var/lib/libvirt/images/test.img file format: qcow2 virtual size: 8.0G (8589934592 bytes) disk size: 136K cluster_size: 65536 |
标签:
原文地址:http://www.cnblogs.com/tonychiu/p/5766515.html