1. 04 7月, 2013 1 次提交
  2. 07 6月, 2013 1 次提交
  3. 01 6月, 2013 1 次提交
  4. 29 4月, 2013 1 次提交
  5. 26 4月, 2013 1 次提交
  6. 16 4月, 2013 3 次提交
    • G
      console: add GraphicHwOps · 380cd056
      Gerd Hoffmann 提交于
      Pass a single GraphicHwOps struct pointer to graphic_console_init,
      instead of a bunch of function pointers.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      380cd056
    • G
      console: simplify screendump · 2c62f08d
      Gerd Hoffmann 提交于
      Screendumps are alot simpler as we can update non-active
      QemuConsoles now.  So we only need to update the QemuConsole
      we want write out, then dump the DisplaySurface content into
      a ppm file.  Done.
      
      No console switching needed.  No special support code in the
      gfx card emulation needed.  Zap it all.  Also move ppm_save
      out of the vga code and next to the qmp_screendump function.
      
      For now screen dumping is limited to console #0 (like it used
      to be), even though it is dead simple to extend it to other
      consoles.  I wanna finish the console cleanup before setting
      new qapi interfaces into stone.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Tested-by: NIgor Mitsyanko <i.mitsyanko@gmail.com>
      2c62f08d
    • G
      console: rename vga_hw_*, add QemuConsole param · 1dbfa005
      Gerd Hoffmann 提交于
      Add QemuConsole parameter to vga_hw_*, so the interface allows to update
      non-active consoles (the actual code can't handle this yet, see next
      patch).  Passing NULL is allowed and updates the active console, like
      the functions do today.
      
      While touching all vga_hw_* calls anyway rename that to the functions to
      hardware-neutral graphics_hw_*
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      1dbfa005
  7. 09 4月, 2013 2 次提交
  8. 18 3月, 2013 1 次提交
  9. 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
  10. 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
  11. 19 12月, 2012 1 次提交
  12. 17 12月, 2012 1 次提交
  13. 04 12月, 2012 1 次提交
  14. 31 10月, 2012 1 次提交
  15. 23 10月, 2012 1 次提交
    • A
      Rename target_phys_addr_t to hwaddr · a8170e5e
      Avi Kivity 提交于
      target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
      reserved) and its purpose doesn't match the name (most target_phys_addr_t
      addresses are not target specific).  Replace it with a finger-friendly,
      standards conformant hwaddr.
      
      Outstanding patchsets can be fixed up with the command
      
        git rebase -i --exec 'find -name "*.[ch]"
                              | xargs s/target_phys_addr_t/hwaddr/g' origin
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      a8170e5e
  16. 07 10月, 2012 1 次提交
  17. 12 9月, 2012 1 次提交
  18. 27 8月, 2012 1 次提交
  19. 24 8月, 2012 1 次提交
  20. 16 8月, 2012 1 次提交
  21. 22 6月, 2012 1 次提交
    • G
      vga: make vram size configurable · 4a1e244e
      Gerd Hoffmann 提交于
      Zap the global VGA_RAM_SIZE #define, make the vga ram size configurable
      for standard vga and vmware vga.  cirrus and qxl are left with a fixed
      size (and private VGA_RAM_SIZE #define) for now.
      
      qxl needs some non-trivial adjustments in the mode list handling deal
      with a runtime-configurable size, which calls for a separate qxl patch.
      
      cirrus emulates cards which have 2 MB (isa) and 4 MB (pci), so I guess
      it would make sense to use these sizes.  That change would break
      migration though, so I left it fixed at 8 MB size.  Making it
      configurabls is pretty pointless for cirrus as we have to match real
      hardware.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      4a1e244e
  22. 13 3月, 2012 1 次提交
  23. 15 2月, 2012 1 次提交
  24. 04 2月, 2012 2 次提交
    • B
      vga: move Cirrus VGA template to its own file · 94d7b483
      Blue Swirl 提交于
      Standard VGA does not use vga_draw_cursor_line_* functions.
      Move the template to cirrus_vga_template.h.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      94d7b483
    • 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
  25. 28 1月, 2012 3 次提交
  26. 26 1月, 2012 2 次提交
  27. 22 1月, 2012 1 次提交
  28. 15 12月, 2011 1 次提交
  29. 06 12月, 2011 1 次提交
  30. 05 12月, 2011 1 次提交
  31. 23 9月, 2011 1 次提交
  32. 04 9月, 2011 1 次提交
  33. 26 8月, 2011 1 次提交