1. 16 10月, 2009 1 次提交
  2. 15 10月, 2009 31 次提交
  3. 14 10月, 2009 3 次提交
  4. 13 10月, 2009 1 次提交
  5. 12 10月, 2009 4 次提交
    • F
      Fixed wacom emulation · 2ca2078e
      François Revol 提交于
      - for absolute mode, scale coordinates to the real device maximum values,
      since some drivers (on Haiku and Linux at least) need them as such,
      and the HID descriptor is boggus on some models anyway,
      - keep the coordinates even when no button is pressed, on real tablet
      the pen is sensed on the surface even without direct contact,
      and drivers expect this,
      - map left button to pressure according to what the Haiku driver wants,
      - map the right button to the pen button,
      - map the middle button to the eraser,
      - use asynchronous reporting as the hid code does, stops the Haiku driver
      (and probably others) from spending 50% cpu polling for changes.
      Signed-off-by: NFrançois Revol <revol@free.fr>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      2ca2078e
    • G
      rom loader: also try filename as-is. · b96bf493
      Gerd Hoffmann 提交于
      In case qemu_find_file fails try to open the file as-is.
      
      Patchworks-ID: 35263
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      b96bf493
    • G
      rom loader: fix sparc -kernel boot. · 3c178e72
      Gerd Hoffmann 提交于
      Changes:
      (1) register pstrcpy_targphys() in rom list, it is used for kernel
      command lines by a number of architectures.
      (2) add rom_ptr() function to get a pointer for applying changes
      to loaded images.  Needed for example to tell the linux kernel
      where it finds the initrd image by updating the header.
      (3) make sparc use rom_ptr for initrd setup.
      
      booting sparc-test works now, and 'info roms' shows this:
      
      (qemu) info roms
      addr=0000000000000000 size=0x2a3828 mem=ram name="phdr #0: vmlinux-2.6.11+tcx"
      addr=00000000007ff000 size=0x00000e mem=ram name="cmdline"
      addr=0000000000800000 size=0x400000 mem=ram name="/root/qemu-test/sparc-test/linux.img"
      addr=0000000070000000 size=0x0e4000 mem=rom name="phdr #0: /home/kraxel/projects/qemu/build-zfull/pc-bios/openbios-sparc32"
      
      reboot via 'system_reset' works too.
      
      Patchworks-ID: 35262
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      3c178e72
    • G
      unlock iothread mutex before running kvm ioctl · d549db5a
      Glauber Costa 提交于
      Without this, kvm will hold the mutex while it issues its run ioctl,
      and never be able to step out of it, causing a deadlock.
      
      Patchworks-ID: 35359
      Signed-off-by: NGlauber Costa <glommer@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d549db5a