From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=46379 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OY19H-0003PC-Om for qemu-devel@nongnu.org; Sun, 11 Jul 2010 14:21:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OY192-0007cj-TX for qemu-devel@nongnu.org; Sun, 11 Jul 2010 14:20:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5733) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OY192-0007cY-JH for qemu-devel@nongnu.org; Sun, 11 Jul 2010 14:20:52 -0400 Message-ID: <4C3A0B51.9050104@redhat.com> Date: Sun, 11 Jul 2010 21:20:01 +0300 From: Avi Kivity MIME-Version: 1.0 References: <20100711180910.20121.93313.stgit@localhost6.localdomain6> <20100711180923.20121.58599.stgit@localhost6.localdomain6> In-Reply-To: <20100711180923.20121.58599.stgit@localhost6.localdomain6> Content-Type: text/plain; charset=UTF-8; format=flowed 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: Alex Williamson Cc: chrisw@redhat.com, mst@redhat.com, qemu-devel@nongnu.org, kvm@vger.kernel.org, pugs@cisco.com 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. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.