On Tue, Mar 11, 2008 at 4:38 PM, Matthias Pfafferodt <[EMAIL PROTECTED]> wrote:
>  * set up the bridged network at boot

trivially easy.  in fact, it's easier to write a script than to do it by hand.

>  * start all domains at boot time (or restore saved domains)

from trivial to moderate, depending on the disk layout.

>  * save the domains at shutdown

moderately tricky.  you'd have to put the kvm control console
somewhere your shutdown script could find them, and send the 'savevm'
commands.


>  Are there such scripts for KVM? I would like to have an init script which 
> does
>  all the things listed above.

i haven't seen any one, i feel it should be done for your specific requirements.

>  Is this even possible with qemu/kvm (save/restore a domain using shell
>  commands)?

totally possible.  restore is just a commandline switch (or automatic
if using qcow images).  savevm is a control command, so you'll have to
redirect the control to a pipe; then the script would simply do an
"echo 'savevm;quit' > kvm-xx.pipe"


-- 
Javier

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to