From: Markus Armbruster Subject: Re: two xenfb bugs for sale ;) Date: Thu, 01 Mar 2007 21:47:11 +0100 Message-ID: <87lkigvghc.fsf@pike.pond.sub.org> References: <45C9BB19.708@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <45C9BB19.708@suse.de> (Gerd Hoffmann's message of "Wed, 07 Feb 2007 12:42:17 +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: Gerd Hoffmann Cc: Xen devel list List-Id: xen-devel@lists.xenproject.org Gerd Hoffmann writes: > Hi, > > Wondered where some xen-vncfb processes handing around on my machine > came from. After some Investigation I've figured that xen-vncfb never > ever exits if you boot a virtual machine with a virtual framebuffer > configured, but boot a kernel without framebuffer support. It sits > waiting for the frontend device come up and doesn't exit when the domain > goes away. Patch to be posted shortly. > Oh, and it also doesn't unmap the framebuffer memory once the frontend > enteres the "Closing" state. You're right, it only unmaps the two shared pages. The framebuffer is normally unmapped in xenfb_detach_dom(), called from xenfb_delete(). What's wrong with that? Note that we must not unmap the framebuffer while it's still being used by LibVNCServer or SDL.