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: [Patch][RFC] Support "xm dump" (is Re: [Xen-devel] Re:[Patch]Enable

To: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Subject: Re: [Patch][RFC] Support "xm dump" (is Re: [Xen-devel] Re:[Patch]Enable "sysrq c" handler for domU coredump)
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Tue, 8 Aug 2006 13:31:54 +0100
Cc: "Graham, Simon" <Simon.Graham@xxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 08 Aug 2006 05:32:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <76C6B710E8ABA2takebe_akio@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: <342BAC0A5467384983B586A6B0B3767103470F5E@xxxxxxxxxxxxxxxxxxxxx> <76C6B710E8ABA2takebe_akio@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Fri, Aug 04, 2006 at 12:24:27AM +0900, Akio Takebe wrote:

> >   quite nicely! This could easily be morphed into the 'xm dump' command
> >- it just
> >   didn't occur to me at the time!
> >
> Your xendump command is dump feature without pause.
> In the case without pause, domain's memory is modified while dumping. 
> I think both w/o and w pause are needed.

On the presumption that dumping can take quite a while, I see that not
pausing the domain can be useful. So perhaps:

        xm dump [-Lc] <dom> <filename>

Default: non-destructive, paused dump

-L: live (don't pause the domain)
-c: crash the domain

It should take a filename to dump to...

regards
john

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