From: Gerd Hoffmann Subject: Re: [Qemu-devel] [PATCH 4/7] xen: add framebuffer backend driver Date: Mon, 04 Aug 2008 20:20:25 +0200 Message-ID: <48974869.7020209@redhat.com> References: <1217865045-10722-1-git-send-email-kraxel@redhat.com> <1217865045-10722-5-git-send-email-kraxel@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Blue Swirl Cc: xen-devel@lists.xensource.com, qemu-devel@nongnu.org List-Id: xen-devel@lists.xenproject.org Blue Swirl wrote: > On 8/4/08, Gerd Hoffmann wrote: >> +const unsigned char atkbd_set2_keycode[512] = { > > Missing "static"? Yep, I'll fix it up. >> + for (i = 0; i < 128; i++) { >> + scancode2linux[i] = atkbd_set2_keycode[atkbd_unxlate_table[i]]; >> + scancode2linux[i | 0x80] = >> + atkbd_set2_keycode[atkbd_unxlate_table[i] | 0x80]; >> + } > > Can't these table be calculated so that this initial run-time lookup > is not needed? Should be doable, yes. > The framebuffer does not use dirty memory detection. Is this > intentional? I understand that in Xen that's not possible. The guest frontend driver does that and sends the info to the backend driver (XENFB_TYPE_UPDATE messages). cheers, Gerd -- http://kraxel.fedorapeople.org/xenner/