From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMmcC-0004QS-Sw for qemu-devel@nongnu.org; Wed, 18 May 2011 15:41:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMmcA-0007NY-2U for qemu-devel@nongnu.org; Wed, 18 May 2011 15:41:04 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:37587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMmc9-0007NR-SA for qemu-devel@nongnu.org; Wed, 18 May 2011 15:41:02 -0400 Message-ID: <4DD420A5.2020606@web.de> Date: Wed, 18 May 2011 21:40:21 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4DD3C5B9.1080908@redhat.com> In-Reply-To: <4DD3C5B9.1080908@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0A1DEEA8D00B490785F5DA9F" Sender: jan.kiszka@web.de Subject: Re: [Qemu-devel] [RFC] Memory API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0A1DEEA8D00B490785F5DA9F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2011-05-18 15:12, Avi Kivity wrote: > void cpu_register_memory_region(MemoryRegion *mr, target_phys_addr_t ad= dr); OK, let's allow overlapping, but make it explicit: void cpu_register_memory_region_overlap(MemoryRegion *mr, target_phys_addr_t addr, int priority); We need that ordering, so we need an interface. Regions registered via cpu_register_memory_region must not overlap with existing one or we will throw an hwerror. And they shall get a low default priority. Jan --------------enig0A1DEEA8D00B490785F5DA9F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk3UIKUACgkQitSsb3rl5xQN0gCfSj78bm+svxO+HXEP6va6MZ5R xagAoKR+K7AosWcersuVJdgGsrwvOe2V =Brwy -----END PGP SIGNATURE----- --------------enig0A1DEEA8D00B490785F5DA9F--