WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] pvfb: Absolute vs relative mouse tracking mystery

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] pvfb: Absolute vs relative mouse tracking mystery
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Thu, 22 Jul 2010 09:51:05 -0700
Cc: Anthony Perard <anthony.perard@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 22 Jul 2010 09:52:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1007221257120.22235@kaball-desktop>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4BE49501.6000408@xxxxxxxx> <alpine.DEB.2.00.1005101537310.11380@kaball-desktop> <4BE86945.9050408@xxxxxxxx> <alpine.DEB.2.00.1005111154050.11380@kaball-desktop> <20100619154145.GM17817@xxxxxxxxxxx> <4C1CE6DE.8000602@xxxxxxxx> <20100619162213.GO17817@xxxxxxxxxxx> <4C1D00FA.2060907@xxxxxxxx> <20100619175040.GQ17817@xxxxxxxxxxx> <4C479868.1030806@xxxxxxxx> <alpine.DEB.2.00.1007221257120.22235@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5
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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel