1. 09 4月, 2013 2 次提交
  2. 05 4月, 2013 1 次提交
  3. 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
  4. 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
  5. 09 1月, 2013 1 次提交
  6. 19 12月, 2012 6 次提交
  7. 17 12月, 2012 1 次提交
  8. 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
  9. 05 10月, 2012 1 次提交
  10. 26 9月, 2012 1 次提交
    • G
      ivshmem: add 64bit option · c08ba66f
      Gerd Hoffmann 提交于
      This patch adds a "use64" property which will make the ivshmem driver
      register a 64bit memory bar when set, so you have something to play with
      when testing 64bit pci bits.  It also allows to have quite big shared
      memory regions, like this:
      
      [root@fedora ~]# lspci -vs1:1
      01:01.0 RAM memory: Red Hat, Inc Device 1110
              Subsystem: Red Hat, Inc Device 1100
              Physical Slot: 1-1
              Flags: fast devsel
              Memory at fd400000 (32-bit, non-prefetchable) [disabled] [size=256]
              Memory at 8040000000 (64-bit, prefetchable) [size=1G]
      
      [ v5: rebase, update compat property for post-1.2 merge ]
      [ v4: rebase & adapt to latest master again ]
      [ v3: rebase & adapt to latest master ]
      [ v2: default to on as suggested by avi,
            turn off for pc-$old using compat property ]
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Tested-by: NCam Macdonell <cam@cs.ualberta.ca>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      c08ba66f
  11. 29 8月, 2012 1 次提交
  12. 24 8月, 2012 1 次提交
  13. 15 8月, 2012 1 次提交
  14. 12 7月, 2012 3 次提交
  15. 04 7月, 2012 1 次提交
  16. 18 6月, 2012 1 次提交
  17. 07 6月, 2012 1 次提交
  18. 13 4月, 2012 1 次提交
  19. 11 4月, 2012 1 次提交
  20. 07 4月, 2012 1 次提交
  21. 15 2月, 2012 1 次提交
  22. 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
  23. 28 1月, 2012 1 次提交
  24. 14 1月, 2012 1 次提交
  25. 04 1月, 2012 1 次提交
    • A
      vmstate, memory: decouple vmstate from memory API · c5705a77
      Avi Kivity 提交于
      Currently creating a memory region automatically registers it for
      live migration.  This differs from other state (which is enumerated
      in a VMStateDescription structure) and ties the live migration code
      into the memory core.
      
      Decouple the two by introducing a separate API, vmstate_register_ram(),
      for registering a RAM block for migration.  Currently the same
      implementation is reused, but later it can be moved into a separate list,
      and registrations can be moved to VMStateDescription blocks.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      c5705a77
  26. 22 11月, 2011 2 次提交
  27. 22 8月, 2011 1 次提交
  28. 21 8月, 2011 1 次提交
  29. 08 8月, 2011 3 次提交