From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlZYX-0000TN-Qe for qemu-devel@nongnu.org; Fri, 24 Apr 2015 05:05:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlZYT-0007oW-Nd for qemu-devel@nongnu.org; Fri, 24 Apr 2015 05:05:53 -0400 Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:36696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlZYT-0007nv-2A for qemu-devel@nongnu.org; Fri, 24 Apr 2015 05:05:49 -0400 Received: by wgen6 with SMTP id n6so43683440wge.3 for ; Fri, 24 Apr 2015 02:05:47 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <553A0766.4040007@redhat.com> Date: Fri, 24 Apr 2015 11:05:42 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] physical memory address in guest (from his point of view) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Catalin Vasile , qemu-devel@nongnu.org On 24/04/2015 10:46, Catalin Vasile wrote: > Does a physical memory address in a guest points to the same memory as qemu? > For example: if I have a physical pointer 0x34 in the guest, does it > point to the same location that qemu points with 0x34 address? No. QEMU converts guest pointers (which are just uint64_t) to host pointers using address_space_map/address_space_unmap. Paolo