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

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix rename issue of xm dump-core
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Tue, 19 Sep 2006 21:37:23 +0900
Delivery-date: Tue, 19 Sep 2006 05:38:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

When I specified a directory to xm dump-core command, the directory 
was renamed.

# mkdir /xen/dump
# ll /xen/
drwxr-xr-x   2 root root       4096 Sep 19 21:04 dump
# xm dump-core vm1 /xen/dump
dumping core of domain:vm1 ...
# ll /xen/
drwxr-xr-x   2 root root       4096 Sep 19 21:04 dump-incomplete


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')


Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: dump_filename.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>