From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:52474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMyHS-00026z-9w for qemu-devel@nongnu.org; Thu, 19 May 2011 04:08:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMyHR-000368-4X for qemu-devel@nongnu.org; Thu, 19 May 2011 04:08:26 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:33761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMyHQ-00035Q-MJ for qemu-devel@nongnu.org; Thu, 19 May 2011 04:08:24 -0400 Message-ID: <4DD4CFF5.6040805@web.de> Date: Thu, 19 May 2011 10:08:21 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4DD3C5B9.1080908@redhat.com> <4DD420A5.2020606@web.de> <4DD4CF76.2080904@redhat.com> In-Reply-To: <4DD4CF76.2080904@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAB7B12C096362D779C9E6AB1" 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) --------------enigAB7B12C096362D779C9E6AB1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2011-05-19 10:06, Avi Kivity wrote: > On 05/18/2011 10:40 PM, Jan Kiszka wrote: >> On 2011-05-18 15:12, Avi Kivity wrote: >> > void cpu_register_memory_region(MemoryRegion *mr, >> target_phys_addr_t addr); >> >> 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 wi= ll >> throw an hwerror. And they shall get a low default priority. >> >=20 > PCI BARs can overlap with anything. So any region can overlap with any= > other region. I know, but that result is unspecified anyway. The user (guest OS) can't expect any reasonable result. We rather need priorities for useful overlapping. Jan --------------enigAB7B12C096362D779C9E6AB1 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/ iEYEARECAAYFAk3Uz/UACgkQitSsb3rl5xT9ZQCfYP+BgSf4NUnjU8zu/5QQbqJW RocAnjZNud8SsCwaHp285Ft13BVEpKsG =Ksjr -----END PGP SIGNATURE----- --------------enigAB7B12C096362D779C9E6AB1--