Xen HVM: How to delay the boot process

bootvirtualizationxen

I need to give a user access to the console of a Xen HVM domain, for troubleshooting a boot problem. The problem is, the guest boots so fast, it is almost impossible to have the VNC session ready when the problem occurs.

Is there a way to delay the boot process for a couple of seconds?

This is using Xen 4.0.1 bundled with Debian Squeeze.

Thanks in advance!

Best Answer

Answering to my own question.

I found this solution:

  • Create the guest but leave it in paused state: xm domain.cfg -p
  • Connect vncviewer to the guest
  • Unpause the domain: xm unpause domain

This allows to see everything right from the start.

A couple of seconds delay in the BIOS would have been nice, too.