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] Question about direct memory access of domU from dom0

To: Jeff Bickford <tassadar27@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Question about direct memory access of domU from dom0
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 10 Sep 2009 22:06:35 +0100
Cc:
Delivery-date: Thu, 10 Sep 2009 14:07:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <123bb170909101355k2d2cdec1o54ad50fb9ee81dac@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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoyWSrcpl3bF8YET6eJi8Gd1qXa8QAAWlyV
Thread-topic: [Xen-devel] Question about direct memory access of domU from dom0
User-agent: Microsoft-Entourage/12.20.0.090605
The shell command 'xm save <domain>' will save the memory image of a domain,
and more besides. If you're interested in snapshotting just a domain's
memory, while the domain continues to run, then some variant of
tools/libxc/xc_domain_save.c:xc_domain_save() is what you want.

 -- Keir

On 10/09/2009 21:55, "Jeff Bickford" <tassadar27@xxxxxxxxx> wrote:

> Hello,
> 
> I am porting a C application that requires taking a snapshot of memory on the
> computer you are running.  The original program uses an external PCI card to
> read the memory and now I am trying to port this to xen.  I want to run the
> program in the dom0 guest but the memory that it will be taking a snapshot of
> is the of memory in the domU guest.  I am using the xen hypervisor 3.3.  Is
> there any specific library or API I can use in C to do this?  The xen api on
> xensource seems to only talk about xensource never about the hypervisor
> alone.  Thank you.
> 
> Jeff
> 



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

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