From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXm11-0002Hn-4W for qemu-devel@nongnu.org; Thu, 02 May 2013 01:25:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXm0y-0005dD-RI for qemu-devel@nongnu.org; Thu, 02 May 2013 01:25:11 -0400 Received: from mail-ee0-f42.google.com ([74.125.83.42]:63301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXm0y-0005cQ-Lm for qemu-devel@nongnu.org; Thu, 02 May 2013 01:25:08 -0400 Received: by mail-ee0-f42.google.com with SMTP id c13so75614eek.1 for ; Wed, 01 May 2013 22:25:08 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5181F8A6.2000201@redhat.com> Date: Thu, 02 May 2013 07:24:54 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20130501043524.GO20202@truffula.fritz.box> <51813E87.2030704@redhat.com> <20130502030508.GG13041@truffula.fritz.box> In-Reply-To: <20130502030508.GG13041@truffula.fritz.box> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 09/17] memory: iommu support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: aik@truffula.fritz.box, qemu-devel@nongnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Il 02/05/2013 05:05, David Gibson ha scritto: >>> I think the problem is that we do not have reference counting, >>> and this makes it simpler to manage the lifetime. It can be >>> changed later. > I don't really follow this logic. In the existing case, the iommu > target is always system memory, and there's already > address_space_memory which always exists. But does the tce->iommu address space always exist? Can you have multiple domains and so on? I can surely change it if you prefer, after all you're the only user right now (address_space_memory always exists). But I'm not 100% sure it will create more problems than it solves. Paolo -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJRgfimAAoJEBvWZb6bTYby4LgP/0B+I7Hql/TYBputor6VwH8S xC2EK8uMpmmTr5RknsaQRQQTPmaXzb1YEXNRN7GKbsEoP5ibSfoFFhMTkUurILWS KdEk+qE3bKnkVqKbyhS3t+zhae7x4fEVO2Cvob3DS/eiaSPuFex3BmHInGyoH7IK ZrTmJwfhWZV0xOKQ96Wyz0tGDTSEhbgn4kIaZANQXbf6Em1dmKsqAyeegotu+oje R6rwJ4lDKlKNAhFOs0lJYHOIsh+EH09QNZiAVWbp8Bx5B0m02bpFBwFZUJWxt3gh 1XspLS+TYHqOqiq//WVIGEJ6U6hepyoU9vFUVfeaW02PFU4+D9VuC6Yd5r4sRYzJ BmwebxeNSrNnCsrDz/R/w07+VDgCgNmhSLDfOx3JEpt/uuw3oxKODpb5+bMMZodO rz8Qv6RilozMK9b9j9O4+n6KFRLMoaqmyS4qWRiSmeF3myD0m8NaKynsutB8efQ9 Zm0/vinWhyFrl3zR/daRY3RY25IEtV2EtGcVCGVrtIhvgaI02enSMoo41wO2bdWQ W+JmX1Y6+2NaCzhx6K7Fc2CpAIynGd3jC0d/XG4OL7Ik6SF0eA/3fRDTF/2/d1HZ 7EeaiG7OF6YznA68qAGcizyYCUNY8uRjv8rSFL842xGetvHQW5bZ4LNGJbLfPVpn qzGnzdS7tqVa1w48qrNv =RGlp -----END PGP SIGNATURE-----