As this information is not that easy to come by, here is a sample code for 
domain xml file. You have to specify driver tag with attribute type set to the 
image type. (Or alternatively, as described in security notice, adjust the 
'allow_disk_format_probing'
option in /etc/libvirt/qemu.conf)

Example:

<disk type='file' device='disk'>
      <driver type='qcow2'/>
      <source file='myDisk.qcow2'/>
      ...
 </disk>

-- 
Disk image type defaults to raw since 0.7.5-5ubuntu27.5
https://bugs.launchpad.net/bugs/667986
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to