[Pkg-libvirt-maintainers] Bug#840136: Bug#840136: virt-manager: Can't create new VM
Guido Günther
agx at sigxcpu.org
Wed Oct 12 06:01:42 UTC 2016
On Wed, Oct 12, 2016 at 12:09:43AM +0200, jp.pozzi at 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
More information about the Pkg-libvirt-maintainers
mailing list