From: Stefano Stabellini Subject: Re: pvfb: Absolute vs relative mouse tracking mystery Date: Tue, 11 May 2010 11:56:38 +0100 Message-ID: References: <4BE49501.6000408@goop.org> <4BE86945.9050408@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: <4BE86945.9050408@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Xen-devel , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Mon, 10 May 2010, Jeremy Fitzhardinge wrote: > On 05/10/2010 07:41 AM, Stefano Stabellini wrote: > > On Fri, 7 May 2010, Jeremy Fitzhardinge wrote: > > > >> On one of my host machines, in PV guests using pvfb I get proper > >> absolute mouse tracking. > >> > >> On another host machine, I get relative tracking in pvfb-using guests. > >> > >> Both are using identical versions of Fedora 12, identical domain > >> configs, and toolstacks and kernels built from the same source. The log > >> files of the X servers are more or less identical. > >> > >> Help? Any clues? > >> > >> > > relative vs absolute depends on a node on xenstore called > > "request-abs-pointer" that defaults to 0 and has to be written by the > > guest. > > > > OK, it looks like it is being set, but the guest is still showing > relative behaviour: > > vkbd = "" > 0 = "" > backend = "/local/domain/0/backend/vkbd/5/0" > backend-id = "0" > state = "4" > page-ref = "1137660" > event-channel = "11" > request-abs-pointer = "1" > > Does this mean qemu-dm's vnc server is not doing the right thing? I think is probably xenfb (that is the framebuffer backend in qemu) that is not doing the right thing. Try adding some debug output in hw/xenfb.c:input_connect.