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(a)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