Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have just upgraded to Ubuntu Server 12.04 and permanently run a Xen guest.

We have migrated to the xl toolstack for Xen (from xm) as suggested which unlike xm does not have support for managed domains. xm is being removed in Xen 4.2 so I need to migrate away.

How should I configure my host to autostart Xen guests?

share|improve this question

There is a best practice in place & it has nothing to do with xl:

Do >nano /etc/default/xendomains then deactivate VM restore using XENDOMAINS_RESTORE=false & save

Then, create the subfolder auto underneath the /xen folder.

mkdir -p /etc/xen/auto

cd /etc/xen/auto

create a symlink to the virtual machine that you want to auto start at Dom0 boot & don't forget the dot at the end of the command

ln -s /etc/xen/yourvm.cfg .


I asked to disable the restore feature because i had problems with it.

share|improve this answer suggests to me that Xen 4.1 with xl is unfortunately not a great combination.

The "fix" is to go back to xm until Xen 4.2 is packed in Ubuntu, at which point xendomains won't depend on xend, so you can start guests at boot and use xl.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.