Kirby Zhou <[email protected]> wrote: > What is the replacement of /var/lib/xen/save and xendomains > service in KVM? > With XEN, I can save my guest into the directory /var/lib/xen/save, > then xendomains services will restore the guest automatically > while booting. > How can I do it with KVM?
The HyperVisor-neutral way to do it (typically with "virsh") is covered in the Virtualization Guides of both RHEL 5.5 and RHEL 6 Beta: http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Virtualization_Guide/chap-Virtualization-Tips_and_tricks.html#sect-Virtualization-Tips_and_tricks-Automatically_starting_guests http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6-Beta/html/Virtualization/chap-Virtualization-Tips_and_tricks.html#sect-Virtualization-Tips_and_tricks-Automatically_starting_guests "Automatically starting guests 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." -- Bryan J Smith Professional, Technical Annoyance ------------------------------------------------------------ "Now if you own an automatic ... sell it! You are totally missing out on the coolest part of driving" -- Johnny O'Connell _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
