From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaH8w-0000Fm-5E for qemu-devel@nongnu.org; Tue, 24 Mar 2015 01:12:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaH8p-0006mL-Qo for qemu-devel@nongnu.org; Tue, 24 Mar 2015 01:12:46 -0400 Received: from ozlabs.org ([103.22.144.67]:53145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaH8p-0006lk-D7 for qemu-devel@nongnu.org; Tue, 24 Mar 2015 01:12:39 -0400 Date: Tue, 24 Mar 2015 15:55:07 +1100 From: David Gibson Message-ID: <20150324045507.GB25043@voom.fritz.box> References: <1424883128-9841-1-git-send-email-dgilbert@redhat.com> <1424883128-9841-38-git-send-email-dgilbert@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wDIVdgWPGyZzZswh" Content-Disposition: inline In-Reply-To: <1424883128-9841-38-git-send-email-dgilbert@redhat.com> Subject: Re: [Qemu-devel] [PATCH v5 37/45] qemu_ram_block_from_host List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert (git)" Cc: aarcange@redhat.com, yamahata@private.email.ne.jp, quintela@redhat.com, qemu-devel@nongnu.org, amit.shah@redhat.com, pbonzini@redhat.com, yanghy@cn.fujitsu.com --wDIVdgWPGyZzZswh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 25, 2015 at 04:52:00PM +0000, Dr. David Alan Gilbert (git) wrot= e: > From: "Dr. David Alan Gilbert" >=20 > Postcopy sends RAMBlock names and offsets over the wire (since it can't > rely on the order of ramaddr being the same), and it starts out with > HVA fault addresses from the kernel. Though as noted earlier, I do wonder if GPA might be a better idea. >=20 > qemu_ram_block_from_host translates a HVA into a RAMBlock, an offset > in the RAMBlock, the global ram_addr_t value and it's bitmap position. >=20 > Rewrite qemu_ram_addr_from_host to use qemu_ram_block_from_host. >=20 > Provide qemu_ram_get_idstr since its the actual name text sent on the > wire. >=20 > Signed-off-by: Dr. David Alan Gilbert Reviewed-by: David Gibson --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --wDIVdgWPGyZzZswh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVEO4rAAoJEGw4ysog2bOSTukP/2gXeYrboJ9z6SAXrhMvJMs3 HnzVPawv/Hv0TWNEx4tywxaRKj7mB0xWCQcEQDLUEkhACDjt6L6iay3IGcaiSOpc udVFtj8bpXVHizGiSUSKRXJMvPDd+4X8F8eXhnCH9f8MFr0+Vg/WzQZmO18/YMd4 adnXH6SZB8k+0mG4BtJbIuBKA/nERZyJtkEVR37OTQUv242av67+bz4MVs1pqdAY syM3N8Rkh11CDtHnnY/RClk/sRD+tahqbLJow3sGrrnjmJQy6txCiUn+/joYlcBV VDaPK1E2+rA8UE/w72xQ5lh8sw8shgJNvWUZyTuWdw4OCnsoLRfQV4iOXw4wpPpf knm8fWipWIL9sDGTAV2moh02aTbvg4XB/f/p8LMpladZIwW4I9OxxFGgD1nfX3ul HrqCl2n5KJglg6QGPNRZH3b25AYc3nEJ3GACe0nJowSlPlG8lv/GW6aCdm+NSStT df8I8FUm1Ly14hruJFhwfWa2ZVitBs/4uh86iWfROvVr1uDzRygxQ3It0k6+ZALo s6WgcPQJgYtcPSlgCQD6PlLbJ3GckNCoind4DitE3dTG3PqSYRQNssDPzFyF+qu7 21rCgI13b4UcfnYqdR2HO8xKgZYrVYWT3dnfnGnF0YajesG8XHHQSAeyOyhR8I/8 fcrCxJBUu+vxILNAsfr2 =749x -----END PGP SIGNATURE----- --wDIVdgWPGyZzZswh--