WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Fix rename issue of xm dump-core

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH] Fix rename issue of xm dump-core
From: Alastair Tse <atse@xxxxxxxxxxxxx>
Date: Fri, 22 Sep 2006 17:37:36 +0100
Delivery-date: Fri, 22 Sep 2006 09:38:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <64C6DBE85B67CBkanno.masaki@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <64C6DBE85B67CBkanno.masaki@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 2006-09-19 at 21:37 +0900, Masaki Kanno wrote:
> This patch fixes this issue, and shows an error message.
> 
> # xm dump-core vm1 /xen/dump
> dumping core of domain:vm1 ...
> Error: core dump failed: (21, 'Is a directory')

Rather than handling the core dump failure for a directory with a
special case, I've added a check before the dump to make sure the file
name supplied is not a directory.

Thanks,

Alastair


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>