Thanks Alex,

That did the trick. Now I am curious: how is libvirtd started at all?

I have Ubuntu 10.10, and I have noticed the presence of a symbolic link:

lrwxrwxrwx 1 root root 21 2011-05-26 09:45 /etc/init.d/libvirt-bin -> /lib/init/upstart-job

But this script is not used in any of the runlevels. Who is starting libvirtd?

Daniel Gonzalez

On Thu, Mar 1, 2012 at 4:21 PM, Alex Jia <> wrote:
Hi Daniel,
The following autostart should be okay for you:

# virsh help autostart
   autostart - autostart a domain

   autostart <domain> [--disable]

   Configure a domain to be automatically started at boot.


----- Original Message -----
From: "Daniel Gonzalez" <>
Sent: Thursday, March 1, 2012 10:51:45 PM
Subject: [libvirt-users] Booting virtual machines automatically


I am managing several virtual machines (a predefined set) with virsh, and I would like to make sure that all VMs are booted when the host reboots.

What is the recommended approach for this?

Daniel Gonzalez

libvirt-users mailing list