[libvirt] [PATCH] qemu: Specify format= iff disk source is not empty

Martin Kletzander mkletzan at redhat.com
Tue Jan 5 15:20:14 UTC 2016


On Sat, Jan 02, 2016 at 01:24:08PM +0100, Michal Privoznik wrote:
>Just recently, qemu forbade specifying format for sourceless
>disks (qemu commit 39c4ae941ed992a3bb5). It kind of makes sense.
>If there's no file to open, why specify its format. Anyway, I
>have a domain like this:
>
>    <disk type='file' device='cdrom'>
>      <driver name='qemu' type='raw'/>
>      <target dev='hda' bus='ide'/>
>      <readonly/>
>      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
>    </disk>
>
>and obviously I am unable to start it. Therefore, a fix on our
>side is needed too.
>

ACK.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160105/2cb19f59/attachment-0001.sig>


More information about the libvir-list mailing list