Matthias Pfafferodt wrote: > Hello, > > my server runs XEN with 5 domains at the moment. I will get new hardware this > week and I think about trying to do the virtualisation using KVM. > > Xen has small scripts which > > * set up the bridged network at boot >
I just manually configure a bridge through my distro's networking scripts. I've got what I do fully documented at http://kvm.qumranet.com/kvmwiki/AnthonyLiguori/Networking You can also use libvirt to manage KVM in which case, it will automagically configure networking for you. > * start all domains at boot time (or restore saved domains) > I just use a script in /etc/init.d/ that I wrote but libvirt will also do this for you. > * save the domains at shutdown > As in, do a save at shutdown? That seems pretty scary to me. I don't know what libvirt does on shutdown but I'm sure someone can chime in. > Are there such scripts for KVM? I would like to have an init script which > does > all the things listed above. > > Is this even possible with qemu/kvm (save/restore a domain using shell > commands)? > You have two options. If you use libvirt, you can issue commands via virsh. If you don't use libvirt, you need to have the monitor sit on a unix domain socket or on a TCP socket and you can issue commands to the monitor via a tool like socat. libvirt is by far the simplest choice for managing KVM but it's possible to do these things without it. Regards, Anthony Liguori > Thanks > > Matthias > > ------------------------------------------------------------------------- > 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 > ------------------------------------------------------------------------- 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