From: Keir Fraser Subject: Re: Question about direct memory access of domU from dom0 Date: Thu, 10 Sep 2009 22:06:35 +0100 Message-ID: References: <123bb170909101355k2d2cdec1o54ad50fb9ee81dac@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <123bb170909101355k2d2cdec1o54ad50fb9ee81dac@mail.gmail.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: Jeff Bickford , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org The shell command 'xm save ' 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" wrote: > Hello, >=20 > I am porting a C application that requires taking a snapshot of memory on= the > computer you are running.=A0 The original program uses an external PCI card= to > read the memory and now I am trying to port this to xen.=A0 I want to run t= he > program in the dom0 guest but the memory that it will be taking a snapsho= t of > is the of memory in the domU guest.=A0 I am using the xen hypervisor 3.3.=A0 = Is > there any specific library or API I can use in C to do this?=A0 The xen api= on > xensource seems to only talk about xensource never about the hypervisor > alone.=A0 Thank you. >=20 > Jeff >=20