1. 07 7月, 2015 1 次提交
  2. 24 6月, 2015 1 次提交
  3. 19 6月, 2015 1 次提交
  4. 10 3月, 2015 1 次提交
  5. 05 11月, 2014 4 次提交
    • A
      sysbus: Expose MMIO enumeration helper · 471a9bc1
      Alexander Graf 提交于
      Sysbus devices have a range of MMIO regions they expose. The exact number
      of regions is device specific and internal information to the device model.
      
      Expose whether a region exists via a public interface. That way our platform
      bus enumeration code can dynamically determine how many regions exist.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      471a9bc1
    • A
      sysbus: Expose IRQ enumeration helpers · b7973186
      Alexander Graf 提交于
      Sysbus devices can get their IRQ lines connected to other devices. It is
      possible to figure out which IRQ line a connection is on and whether a sysbus
      device even provides an IRQ connector at a specific offset.
      
      This patch exposes helpers to make this information publicly accessible. We
      will need it for the platform bus dynamic sysbus enumeration.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      b7973186
    • A
      sysbus: Make devices spawnable via -device · 33cd52b5
      Alexander Graf 提交于
      Now that we can properly map sysbus devices that haven't been connected to
      something forcefully by C code, we can allow the -device command line option
      to spawn them.
      
      For machines that don't implement dynamic sysbus assignment in their board
      files we add a new bool "has_dynamic_sysbus" to the machine class.
      When that property is false (default), we bail out when we see dynamically
      spawned sysbus devices, like we did before.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      33cd52b5
    • A
      sysbus: Add dynamic sysbus device search · eb572280
      Alexander Graf 提交于
      Sysbus devices can be spawned by C code or dynamically via the command line.
      In the latter case, we need to be able to find the dynamically created devices
      to do things with them.
      
      This patch adds a search helper that makes it easy to look for dynamically
      spawned sysbus devices.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      eb572280
  6. 23 10月, 2014 1 次提交
  7. 18 8月, 2014 1 次提交
  8. 23 12月, 2013 1 次提交
  9. 14 10月, 2013 1 次提交
  10. 31 8月, 2013 1 次提交
  11. 09 4月, 2013 1 次提交
  12. 01 4月, 2013 2 次提交
  13. 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
  14. 27 2月, 2013 1 次提交
  15. 22 1月, 2013 1 次提交
  16. 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
  17. 19 12月, 2012 2 次提交
  18. 27 11月, 2012 1 次提交
  19. 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
  20. 05 10月, 2012 1 次提交
  21. 18 6月, 2012 3 次提交
  22. 15 2月, 2012 1 次提交
  23. 04 2月, 2012 2 次提交
    • A
      qdev: kill off DeviceInfo · d307af79
      Anthony Liguori 提交于
      It is no longer used in the tree since everything is done natively through
      QEMU Object Model.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d307af79
    • 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
  24. 28 1月, 2012 1 次提交
  25. 21 12月, 2011 1 次提交
  26. 20 12月, 2011 2 次提交
  27. 28 11月, 2011 2 次提交
  28. 01 11月, 2011 1 次提交
  29. 04 9月, 2011 2 次提交