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

Avi Kivity
2010-06-23T08:09:26Z

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