[libvirt] restore as init script

2009-02-21 Thread Matthias Pfafferodt
Hello, first i'm using kvm-84 and libvirt 0.6.0 on opensuse 11.1. I try to use the attached script to save some domains on shutdown and restore them on host boot. The script also tries to cleanly shutdown all other domains. The save and shutdown part is working as expected but on system boot

Re: [libvirt] Updated James Morris patch to apply to libvirt-0.6.0 version

2009-02-21 Thread Jim Meyering
Daniel P. Berrange wrote: Just spotted one serious problem we need to address. The method 'qemudStartVMDaemon' quoted here is where we set the security label: ... Good catch. To use this, we'd make qemudStartVM() pass in a virExecHook callback which does the call to