From mboxrd@z Thu Jan 1 00:00:00 1970 From: Akio Takebe Subject: Re: [Patch][RFC] Support "xm dump" (is Re: Re: [Patch] Enable "sysrq c" handler for domU coredump) Date: Thu, 03 Aug 2006 21:57:02 +0900 Message-ID: <71C6B6FC50B46Etakebe_akio@jp.fujitsu.com> References: <20060801092622.GA28388@verge.net.au> <200608030809.33574.Tristan.Gingold@bull.net> <6DC6B6ED79944Atakebe_akio@jp.fujitsu.com> <200608031358.08031.Tristan.Gingold@bull.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200608031358.08031.Tristan.Gingold@bull.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tristan Gingold , John Levon , Keir Fraser Cc: Muli Ben-Yehuda , Horms , Akio Takebe , xen-devel , Kouya Shimura List-Id: xen-devel@lists.xenproject.org Hi, all >> For example panic dump option is used when domU kernel is hungup, >> and we want to reboot and make coredump atomatically. >I'd prefer 'xm crash' (or 'xm panic') and 'xm dump' . >I'd prefer 'xm dump' *not* to panic by default. It is too dangerous. > OK. I also think both are necessary. How about the following specification? 1. xm crash This is only for crashing a domain. If enable-dump is yes, we can get the domain's core after crash. And If we want to atomatically reboot, we should set on_crash='restart' in domain configuration. 2. xm dump This is for live dumping a domain. This implementation is: 1. pause the domain 2. dumping the domain 3. unpause the domain 4. reboot (if --noreboot option, don't reboot) I think we want to reboot when we want to dump. So I want to be default reboot. BTW, I think the feature to online-dump domain and hypervisor is also necessary.(meaning online is "don't pause") Best Regards, Akio Takebe