1. 09 4月, 2013 2 次提交
  2. 01 3月, 2013 1 次提交
    • P
      hw: include hw header files with full paths · 83c9f4ca
      Paolo Bonzini 提交于
      Done with this script:
      
      cd hw
      for i in `find . -name '*.h' | sed 's/^..//'`; do
        echo '\,^#.*include.*["<]'$i'[">], s,'$i',hw/&,'
      done | sed -i -f - `find . -type f`
      
      This is so that paths remain valid as files are moved.
      
      Instead, files in hw/dataplane are referenced with the relative path.
      We know they are not going to move to include/, and they are the only
      include files that are in subdirectories _and_ move.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      83c9f4ca
  3. 11 1月, 2013 1 次提交
    • A
      Make all static TypeInfos const · 8c43a6f0
      Andreas Färber 提交于
      Since 39bffca2 (qdev: register all
      types natively through QEMU Object Model), TypeInfo as used in
      the common, non-iterative pattern is no longer amended with information
      and should therefore be const.
      
      Fix the documented QOM examples:
      
       sed -i 's/static TypeInfo/static const TypeInfo/g' include/qom/object.h
      
      Since frequently the wrong examples are being copied by contributors of
      new devices, fix all types in the tree:
      
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*.c
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*/*.c
      
      This also avoids to piggy-back these changes onto real functional
      changes or other refactorings.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8c43a6f0
  4. 19 12月, 2012 2 次提交
  5. 15 2月, 2012 1 次提交
  6. 04 2月, 2012 1 次提交
    • A
      qdev: register all types natively through QEMU Object Model · 39bffca2
      Anthony Liguori 提交于
      This was done in a mostly automated fashion.  I did it in three steps and then
      rebased it into a single step which avoids repeatedly touching every file in
      the tree.
      
      The first step was a sed-based addition of the parent type to the subclass
      registration functions.
      
      The second step was another sed-based removal of subclass registration functions
      while also adding virtual functions from the base class into a class_init
      function as appropriate.
      
      Finally, a python script was used to convert the DeviceInfo structures and
      qdev_register_subclass functions to TypeInfo structures, class_init functions,
      and type_register_static calls.
      
      We are almost fully converted to QOM after this commit.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      39bffca2
  7. 02 2月, 2012 1 次提交
    • G
      hw/vmmouse.c: Disable vmmouse after reboot · 069ab0eb
      Gerhard Wiesinger 提交于
      Bugfix after reboot when vmmouse was enabled and another OS which uses e.g. PS/2
      mouse.
      
      Details:
      When a guest activated the vmmouse followed by a reboot the vmmouse was still
      enabled and the PS/2 mouse was therefore unsusable. When another guest is then
      booted without vmmouse support (e.g. PS/2 mouse) the mouse is not working.
      
      Reason is that VMMouse has priority and disables all other mouse entities
      and therefore must be disabled on reset.
      
      Testscenario:
      1.) Boot e.g. OS with VMMouse support (e.g. Windows with VMMouse tools)
      2.) reboot
      3.) Boot e.g. OS without VMMouse support (e.g. DOS) => PS/2 mouse doesn't work
           any more. Fixes that issue.
      
      Testscenario 2 by Jan Kiszka <jan.kiszka@siemens.com>:
      Confirm that this patch fixes a real issue. Setup: qemu.git,
      opensuse 11.4 guest, SDL graphic, system_reset while guest is using the
      vmmouse. Without the patch, the vmmouse become unusable after the
      reboot. Also, the mouse stays in absolute mode even before X starts again.
      
      Fixed by:
      Disabling the vmmouse in its reset handler.
      Tested-by: NAndreas F=E4rber <afaerber@suse.de>
      Signed-off-by: NGerhard Wiesinger <lists@wiesinger.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      069ab0eb
  8. 28 1月, 2012 1 次提交
  9. 22 3月, 2011 1 次提交
  10. 13 2月, 2011 1 次提交
  11. 12 2月, 2011 2 次提交
  12. 21 10月, 2010 1 次提交
    • G
      vmmouse: adapt to mouse handler changes. · cd496926
      Gerd Hoffmann 提交于
      This patch updates the vmmouse handler registration and activation.
      
      Old behavior:
        vmmouse_read_id, vmmouse_request_relative and vmmouse_request_absolute
        unregister the handler and re-register it.
      
      New behavior:
        vmmouse_request_relative and vmmouse_request_absolute will unregister
        the handler in case the mode did change.  Then register and active the
        handler with current mode if needed.
      
      Note that the old code never ever *activates* the handler, so the
      vmmouse doesn't receive events.  This trips up Fedora 14 for example:
      Boot a default install without usb tablet, watch the X-Server activating
      the vmmouse then, enjoy a non-functional mouse.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      cd496926
  13. 06 7月, 2010 1 次提交
  14. 22 5月, 2010 1 次提交
  15. 05 10月, 2009 1 次提交
  16. 12 9月, 2009 1 次提交
  17. 06 2月, 2009 1 次提交
  18. 13 12月, 2008 1 次提交
  19. 18 11月, 2007 1 次提交
  20. 17 9月, 2007 1 次提交
  21. 27 8月, 2007 2 次提交
  22. 21 3月, 2007 1 次提交