Hi! Yes, the vms is configured to be started automatically by libvirtd.
The aoetool start script only loads the module. I don't mount any aoe device, because it is used directly by the vm. You're right the best solution would be to enhance libvirtd to check all prerequisites for each vm before starting it. But sadly I had no time to wait for this to be realised. And I'm not skilled enough to do this myself. So my solution was to enhance the upstart script in this way: pre-start script mkdir -p /var/run/libvirt # Clean up a pidfile that might be left around rm -f /var/run/libvirtd.pid AOE=$(aoe-stat | wc -l) until [ $AOE -gt 0 ] do sleep 1 AOE=$(aoe-stat | wc -l) done end script This pre-start script waits till at least one aoe device is accessible. Thanks and kind regards Lars -- starting kvm guests with libvirt on virthost startup doesn't wait till all dependencies are available https://bugs.launchpad.net/bugs/595388 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs