On Wed, Oct 12, 2016 at 12:09:43AM +0200, jp.po...@izzop.net wrote: > Hello, > > I didn't have much time to test as I do not know virsh very well. > After modifying the Xml files "by hand" and with some working machines > as example I was able to create new machines with virsh and to run them > through virt-manager. > I will try to test creating another new machine and search in the xml > file some elements of the problem. > Through à diff program I noticed that the CDROM (stated as IDE) was on > the same controller as the "sda" disk (stated as XEN disk), the part of > the xml is here : > <disk type='file' device='disk'> > <driver name='qemu' type='raw'/> > <source file='/dev/DUO/GALERA_3'/> > <target dev='xvda' bus='xen'/> > </disk> > <disk type='file' device='cdrom'> > <target dev='hdb' bus='ide'/> > <readonly/> > <address type='drive' controller='0' bus='0' target='0' > unit='1'/> > </disk> > <controller type='ide' index='0'/> > > After modifying the xml file (I hate XML) I was able to create the > machine with virsh, here is the "modified" disk part : > <disk type='file' device='disk'> > <driver name='qemu' type='raw'/> > <source file='/dev/DUO/GALERA_3'/> > <target dev='sda' bus='sata'/> > <address type='drive' controller='0' bus='0' target='0' > unit='0'/> > </disk> > <controller type='sata' index='0'/>
So you basically removed the cdrom drive from your libxl domain. Please check you can create a VM without a CDROM just fine and please also attach the relevant xen logs of the failure case so we can forward this upstream. Cheers, -- Guido