From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZU4nl-0000XO-Je for qemu-devel@nongnu.org; Mon, 24 Aug 2015 23:21:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZU4nk-0000ET-QR for qemu-devel@nongnu.org; Mon, 24 Aug 2015 23:21:33 -0400 Received: from mail-ig0-x233.google.com ([2607:f8b0:4001:c05::233]:36270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZU4nk-0000EI-Lu for qemu-devel@nongnu.org; Mon, 24 Aug 2015 23:21:32 -0400 Received: by igcse8 with SMTP id se8so2428733igc.1 for ; Mon, 24 Aug 2015 20:21:32 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Naman patel Date: Tue, 25 Aug 2015 08:51:12 +0530 Message-ID: Content-Type: multipart/alternative; boundary=047d7bd6c11a0be7db051e1a3b5a Subject: Re: [Qemu-devel] Reserve physical memory region in QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers --047d7bd6c11a0be7db051e1a3b5a Content-Type: text/plain; charset=UTF-8 Extremely sorry, my bad, its *cpu_physical_memory_write() *function to be precise. Regards, Naman On Tue, Aug 25, 2015 at 8:46 AM, Naman patel wrote: > Hi, > My requirement is to have a reserved physical memory region for QEMU > that can be written using *cpu_physical_memory_region(),* which then can > also be used by the linux kernel for reading and writing. How can one > reserve such memory region in QEMU 2.0? And what care should one take while > doing this? > > > Regards, > Naman > --047d7bd6c11a0be7db051e1a3b5a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Extremely sorry, my bad, its=C2=A0cpu_physical_memory_write() function to be precise.

Regards,
Naman

On Tue, Aug 25, 2015= at 8:46 AM, Naman patel <naman321@gmail.com> wrote:
Hi,
=C2=A0 =C2=A0 =C2= =A0My requirement is to have a reserved physical memory region for QEMU tha= t can be written using cpu_physical_memory_region(), which then can = also be used by the linux kernel for reading and writing. How can one reser= ve such memory region in QEMU 2.0? And what care should one take while doin= g this?


Regards,
Naman

--047d7bd6c11a0be7db051e1a3b5a--