From: Markus Armbruster Subject: Re: fbfront Date: Wed, 25 Jul 2007 19:22:31 +0200 Message-ID: <87k5so9z54.fsf@pike.pond.sub.org> References: <1185292664.18045.17.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <1185292664.18045.17.camel@localhost.localdomain> (Ian Campbell's message of "Tue\, 24 Jul 2007 16\:57\:43 +0100") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: Ky Srinivasan , xen-devel@lists.xensource.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org Ian Campbell writes: > On Tue, 2007-07-24 at 16:42 +0100, Keir Fraser wrote: >> The framebuffer device exported by qemu-dm seems to do the job perfectly >> well for HVM guests. > > For PV guests the backport is hampered by zap_page_range() not being > exported on any released kernels and being too big and complex for a > sane compat layer. > > Someone from RH suggested ages ago that fbfront could be changed to use > unmap_mapping_range() instead but I haven't heard anything more since. Yes. But it's a hairy job, and nobody has gotten around to it so far. Quoting from the archive: We'd like to replace zap_page_range() with unmap_mapping_range(), for several good reasons: * it is already fully exported, * it deals with locking automatically via the address_space i_mmap_lock spinlock, * it automatically iterates over all the vmas on the address_space without us having to loop over them ourselves.