[libvirt] Re: [PATCH/RFC] kvm/qemu vs libvirtd restarts

Guido Günther agx at sigxcpu.org
Fri Oct 10 15:35:04 UTC 2008

On Tue, Oct 07, 2008 at 05:37:52PM +0100, Daniel P. Berrange wrote:
> This also needs to be implemented with the assumption that the daemon
> can & will crash any time. So putting the state-saving hooks into the
> qemudShutdown() method won't be sufficient. We need to write out the
> state we need when initially starting the VM, and then update it any
> time we hot-plug/unplug devices.
This was actually the first way I looked at this but decided to do it
the other way around since it saves us from updating the live config all
the time. But if we consider libvirtd crashable it's indeed better
to go this way. I'll come up with a different patch, might be a couple
of days before I get around to it though.
 -- Guido

More information about the libvir-list mailing list