Re: [PATCH V2 3/5] ara virt interface of perf to support kvm guestos statistics collection in guest os

From: Avi Kivity
Date: Wed Jun 23 2010 - 04:09:52 EST


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 linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/