[Bug 667986] Re: Disk image type defaults to raw since 0.7.5-5ubuntu27.5

Marek Šabo zeratul021 at gmail.com
Sat Nov 6 14:35:40 GMT 2010


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
Server Team, which is subscribed to libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list