From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: Re: [RFC PATCH 2/5] Minimal RAM API support Date: Sun, 11 Jul 2010 12:24:27 -0600 Message-ID: <1278872667.20397.16.camel@x201> References: <20100711180910.20121.93313.stgit@localhost6.localdomain6> <20100711180923.20121.58599.stgit@localhost6.localdomain6> <4C3A0B51.9050104@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, qemu-devel@nongnu.org, pugs@cisco.com, chrisw@redhat.com, mst@redhat.com To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:51269 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753534Ab0GKSYl (ORCPT ); Sun, 11 Jul 2010 14:24:41 -0400 In-Reply-To: <4C3A0B51.9050104@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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.