How to "auto" attach guest domain in XEN

Each time you boot your xen machine, you need to run xm create "config file" to attach console to the domain as soon as it has started. If you only have 1 guest domain, you can easily do this.How if u have few domains? Well, to automate this function just do ONE step and each time you boot your machine, your guest domains will be attached automatically.

Move your Guest OS xen config in /etc/xen to /etc/xen/auto

You can restart your machine and you can view your xm list. Your Guest OS will be attached automatically.