From: Masaki Kanno Subject: Re: [PATCH] Domain core-dumping fixes Date: Thu, 12 Mar 2009 16:03:40 +0900 Message-ID: <9BC9A2E0AC48C4kanno.masaki@jp.fujitsu.com> References: <88b3a560b0fb2a5adca9.1236822349@girltalk> <9AC9A2CE82BB15kanno.masaki@jp.fujitsu.com> <20090312050843.GC25391@barman.uk.sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090312050843.GC25391@barman.uk.sun.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi John, >> Please don't reset a domain after unpaused the domain. > >I must admit I don't really understand what this option is for. > The reset option cuts down the number of operations for users. Without the reset option: 1) xm dump-core --crash vm1 2) xm create/start vm1 With the reset option: 1) xm dump-core --reset vm1 If a crashed guest works between unpause and reset, then the guest system may corrupt. So we want to reset the crashed guest before unpause. If we cannot do that, the reset option is worthless. May I remove the reset option from xm dump-core command? >> Could you move the reset into xend? > >Not without breaking backwards compatibility. Unfortunately, the xend >code in server/SrvDomain.py (I think) does not allow optional arguments: >so every time you add a parameter like 'reset' (which is not there now), >every client breaks. In particular, libvirt. > I cannot complain. Should we not add options for clients anymore? Will anyone improve server/SrvDomain.py? Best regards, Kan