Received: from eggs.gnu.org ([2001:4830:134:3::10]:50509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZtE2-0007ks-TK for qemu-devel@nongnu.org; Sun, 22 Mar 2015 23:40:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZtE1-0000IN-N4 for qemu-devel@nongnu.org; Sun, 22 Mar 2015 23:40:26 -0400 Received: from ozlabs.org ([2401:3900:2:1::2]:58775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZtE1-0000I7-5m for qemu-devel@nongnu.org; Sun, 22 Mar 2015 23:40:25 -0400 Date: Mon, 23 Mar 2015 14:41:08 +1100 From: David Gibson Message-ID: <20150323034108.GK25043@voom.fritz.box> References: <1424883128-9841-1-git-send-email-dgilbert@redhat.com> <1424883128-9841-29-git-send-email-dgilbert@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibq+fG+Ci5ONsaof" Content-Disposition: inline In-Reply-To: <1424883128-9841-29-git-send-email-dgilbert@redhat.com> Subject: Re: [Qemu-devel] [PATCH v5 28/45] postcopy: Incoming initialisation 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 --ibq+fG+Ci5ONsaof Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 25, 2015 at 04:51:51PM +0000, Dr. David Alan Gilbert (git) wrot= e: > From: "Dr. David Alan Gilbert" >=20 > Signed-off-by: Dr. David Alan Gilbert Reviewed-by: David Gibson Looks ok, apart from a misspelled comment: [snip] > + /* > + * We need the whole of RAM to be truly empty for postcopy, so things > + * like ROMs and any data tables built during init must be zero'd > + * - we're going to get the copy from the source anyway. > + * (Precopy will just overwrite this data, so doesn't need the disca= rd) > + */ > + if (postcopy_ram_discard_range(mis, host_addr, (host_addr + length -= 1))) { > + return -1; > + } > + > + /* > + * We also need the area to be normal 4k pages, not huge pages > + * (otherwise we can't be sure we can atopically place the s/atopically/atomically/ --=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 --ibq+fG+Ci5ONsaof Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVD4tUAAoJEGw4ysog2bOSqngQAJK8vVerDX+yo6cHLnJeeq3k xqzKzEVVRoVetpYWzgAVQTPrW1sN86Z6yHXN2uyf/uhx6fVE3WA+hbOy8Ga/h/Er 5HABqlFQf1gZAfbCAvvTaXdDhzwQuSvyacUR6UhHpXjJJAEDgPsx5+n2V7rIdie+ PEXmwEUDM1ORqKwViErWWA+/DyNE6pSrguoUS61zcefWf6hSngPTX4Hp39uWdV6X 8fX5X2GiAQd96Jr3N3n+JYnEQ4yfi8+xnvG0HD6wINpuso3RSH+uXDyT0nxiWTN/ 77BCkHE1XbqsvvtYR9z4KkWaUFHNZi6QIpAgv4cM+Sq2sjwYc/HQIs0kbtiPUyqm SEhl/E3PsPRF+KD/Bhz/cuqxQ1KU+1SKwrrqFVdEkwJJ9V5T9wsTZoIBnMIe3uY+ gkVq8VpFQZ389mvBX27eKjabyhHcT7FA1A+xsKv9tTKQCEDo9QeEvDK6CDq6Kyyy wTwPhwNfCb+L00nXE7rg4p8cRnDqeog3Vx3sjSD3W/EXxx3BoyzvDWyTPqMfcbjk N+nHl4bq6k9DiMyYpeCm6Q3ORh43M9bmncOoJhJV4szu5LgLo0lKMMci3bV8Pvuh NoJh2HsMP+kWDEvc4JyIeSrU1gu7UxYJV207A5NEau1h6IjUyVbJnyyMWRXfcqOt RujGq2AAvbjdUUHMqmXi =0NsR -----END PGP SIGNATURE----- --ibq+fG+Ci5ONsaof--