From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH V2 3/5] ara virt interface of perf to support kvm guest os statistics collection in guest os Date: Wed, 23 Jun 2010 11:09:26 +0300 Message-ID: <4C21C136.9070708@redhat.com> References: <1277112703.2096.511.camel@ymzhang.sh.intel.com> <20100621135659.GL4689@redhat.com> <1277185636.2096.675.camel@ymzhang.sh.intel.com> <4C206EA0.3060101@redhat.com> <1277257421.2096.758.camel@ymzhang.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Gleb Natapov , LKML , kvm@vger.kernel.org, Ingo Molnar , Fr??d??ric Weisbecker , Arnaldo Carvalho de Melo , Cyrill Gorcunov , Lin Ming , Sheng Yang , Marcelo Tosatti , oerg Roedel , Jes Sorensen , Zachary Amsden , zhiteng.huang@intel.com, tim.c.chen@intel.com, Peter Zijlstra To: "Zhang, Yanmin" Return-path: In-Reply-To: <1277257421.2096.758.camel@ymzhang.sh.intel.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 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