Product SiteDocumentation Site

Chapter 17. Tips and tricks

17.1. Automatically starting guests
17.2. Changing between the KVM and Xen hypervisors
17.2.1. Xen to KVM
17.2.2. KVM to Xen
17.3. Using qemu-img
17.4. Overcommitting with KVM
17.5. Modifying /etc/grub.conf
17.6. Verifying virtualization extensions
17.7. Identifying guest type and implementation
17.8. Generating a new unique MAC address
17.9. Very Secure ftpd
17.10. Configuring LUN Persistence
17.11. Disable SMART disk monitoring for guests
17.12. Cloning guest configuration files
17.13. Duplicating an existing guest and its configuration file
This chapter contain useful hints and tips to improve virtualization performance, scale and stability.

17.1. Automatically starting guests

This section covers how to make virtualized guests start automatically during the host system's boot phase.
This example uses virsh to set a guest, TestServer, to automatically start when the host boots.
# virsh autostart TestServer
Domain TestServer marked as autostarted
The guest now automatically starts with the host.
To stop a guest automatically booting use the --disable parameter
# virsh autostart --disable TestServer
Domain TestServer unmarked as autostarted
The guest no longer automatically starts with the host.