From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: pvfb: Absolute vs relative mouse tracking mystery Date: Thu, 22 Jul 2010 09:51:05 -0700 Message-ID: <4C4876F9.2030008@goop.org> References: <4BE49501.6000408@goop.org> <4BE86945.9050408@goop.org> <20100619154145.GM17817@reaktio.net> <4C1CE6DE.8000602@goop.org> <20100619162213.GO17817@reaktio.net> <4C1D00FA.2060907@goop.org> <20100619175040.GQ17817@reaktio.net> <4C479868.1030806@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 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: Stefano Stabellini Cc: Anthony Perard , Xen-devel List-Id: xen-devel@lists.xenproject.org On 07/22/2010 04:58 AM, Stefano Stabellini wrote: > On Thu, 22 Jul 2010, Jeremy Fitzhardinge wrote: > >> I just got a Win7 hvm domain working for the first time in a while, and >> found that it *isn't* getting proper abs updates. I even set >> usbdevice='tablet' in its config... >> > > Are you sure? > The vfb connection between qemu and the stubdom is definitely based on > absolute mouse events in my tests. > Yep. I created a domain and its getting relative pointer: sh-4.0# xl create -d /etc/xen/win7-ctxs Parsing config file /etc/xen/win7-ctxs (domain (domid -1) (domain_create_info) (hvm 1) (hap 1) (oos 1) (ssidref 0) (name win7-ctxs) (uuid 8badafad-1c63-8812-b082-2b1cc9002a8d) (cpupool Pool-0 (0)) (xsdata (null)) (platformdata (null)) (domain_build_info) (max_vcpus 2) (tsc_mode 0) (max_memkb 1048576) (target_memkb 1048576) (nomigrate 0) (image (hvm (loader /usr/lib/xen/boot/hvmloader) (video_memkb 8192) (shadow_memkb 10240) (pae 1) (apic 1) (acpi 1) (nx 1) (viridian 1) (hpet 1) (vpt_align 1) (timer_mode 1) (device_model stubdom-dm) (videoram 8) (stdvga 0) (vnc 1) (vnclisten 0.0.0.0) (vncdisplay 0) (vncunused 1) (keymap (null)) (sdl 0) (opengl 0) (nographic 0) (serial pty) (boot cda) (usb 0) (usbdevice tablet) (apic 1) ) ) (device (tap (backend_domid 0) (domid 0) (physpath /dev/vg_lilith-raid/xen-win7-ctxs) (phystype 4) (virtpath hda) (unpluggable 1) (readwrite 1) (is_cdrom 0) ) ) (device (vif (backend_domid 0) (domid 0) (devid 0) (mtu 1492) (model e1000) (mac 00163e23f8c2) ) ) ) xc: info: VIRTUAL MEMORY ARRANGEMENT: Loader: 0000000000100000->00000000001766ec TOTAL: 0000000000000000->000000003f800000 ENTRY ADDRESS: 0000000000100000 xc: info: PHYSICAL MEMORY ALLOCATION: 4KB PAGES: 0x0000000000000200 2MB PAGES: 0x00000000000001fb 1GB PAGES: 0x0000000000000000 J