On 06/23/2010 04:43 AM, Zhang, Yanmin wrote:

A reset does not involve destroying a vm; you have to clean up as part
of the rest process.
What does 'reset' here mean? Is it a reboot or halt? If it's a halt, it involves
destroying a vm. If a host user just kills the qemu process, is it a reset 
involving
destroying a vm?

'reset' is either a complete reset ('system_reset' on the qemu monitor, cycles through the bios etc.) or just an INIT signal to one vcpu. Neither involves destroying a vm.

You aren't guaranteed a reboot notifier will be called.  On the other
hand, we need a kexec handler.
ordinary kexec calls all reboot notifiers. Only crash kexec doesn't call them.
I will implement a machine_ops.crash_shutdown callback.

Thanks.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to