From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41933 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OY1Cm-0005oS-Fl for qemu-devel@nongnu.org; Sun, 11 Jul 2010 14:24:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OY1Ci-00082V-Vm for qemu-devel@nongnu.org; Sun, 11 Jul 2010 14:24:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58150) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OY1Ci-00082P-Pc for qemu-devel@nongnu.org; Sun, 11 Jul 2010 14:24:40 -0400 From: Alex Williamson In-Reply-To: <4C3A0B51.9050104@redhat.com> References: <20100711180910.20121.93313.stgit@localhost6.localdomain6> <20100711180923.20121.58599.stgit@localhost6.localdomain6> <4C3A0B51.9050104@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Sun, 11 Jul 2010 12:24:27 -0600 Message-ID: <1278872667.20397.16.camel@x201> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [RFC PATCH 2/5] Minimal RAM API support List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: chrisw@redhat.com, mst@redhat.com, qemu-devel@nongnu.org, kvm@vger.kernel.org, pugs@cisco.com On Sun, 2010-07-11 at 21:20 +0300, Avi Kivity wrote: > On 07/11/2010 09:09 PM, Alex Williamson wrote: > > This adds a minimum chunk of Anthony's RAM API support so that we > > can identify actual VM RAM versus all the other things that make > > use of qemu_ram_alloc. > > > > typedef void CPUWriteMemoryFunc(void *opaque, target_phys_addr_t addr, uint32_t value); > > diff --git a/memory.c b/memory.c > > new file mode 100644 > > index 0000000..f5f9273 > > --- /dev/null > > +++ b/memory.c > > @@ -0,0 +1,77 @@ > > +/* > > + * virtual page mapping and translated block handling > > + * > > + * Copyright (c) 2003 Fabrice Bellard > > > > Really? Looks like new code. Yeah, I just stole the copyright Anthony used for this file.