[libvirt] Re: [virt-tools-list] Some VMs not starting at host boot

Cole Robinson crobinso at redhat.com
Thu Oct 1 15:17:05 UTC 2009


On 10/01/2009 11:07 AM, Daniel Huhardeaux wrote:
> Hi,
> 
> 3 VMs on a host, all in autostart: the both where
> 
> <disk type='block' device='disk'>
>       <source dev='/dev/vg0/DomU1'/>
>       <target dev='vda' bus='virtio'/>
> </disk>
> 
> are not started automagically on host startup. They start without 
> problem from virsh. The one having
> 
>     <disk type='file' device='disk'>
>       <source file='/media/vm2/vdisk.qcow2'/>
>       <target dev='hda' bus='ide'/>
>     </disk>
> 
> has no problem. Any idea why?

FYI, libvirt/virsh specific questions should go to
libvirt-list at redhat.com. CCing

Try 'virsh dominfo <vmname>' for each VM to ensure autostart is actually
enabled.

To see why autostart is failing, you want to launch libvirtd by hand.
Stop all your VMs, do a service libvirtd stop, then (as root) run
'libvirtd'. Any VM startup error messages should be printed on the console.

- Cole





More information about the libvir-list mailing list