1. 11 8月, 2009 1 次提交
  2. 17 7月, 2009 1 次提交
    • G
      qdev: rework device properties. · ee6847d1
      Gerd Hoffmann 提交于
      This patch is a major overhaul of the device properties.  The properties
      are saved directly in the device state struct now, the linked list of
      property values is gone.
      
      Advantages:
        * We don't have to maintain the list with the property values.
        * The value in the property list and the value actually used by
          the device can't go out of sync any more (used to happen for
          the pci.devfn == -1 case) because there is only one place where
          the value is stored.
        * A record describing the property is required now, you can't set
          random properties any more.
      
      There are bus-specific and device-specific properties.  The former
      should be used for properties common to all bus drivers.  Typical
      use case is bus addressing, i.e. pci.devfn and i2c.address.
      
      Properties have a PropertyInfo struct attached with name, size and
      function pointers to parse and print properties.  A few common property
      types have PropertyInfos defined in qdev-properties.c.  Drivers are free
      to implement their own very special property parsers if needed.
      
      Properties can have default values.  If unset they are zero-filled.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ee6847d1
  3. 09 7月, 2009 1 次提交
  4. 17 6月, 2009 2 次提交
  5. 09 6月, 2009 4 次提交
  6. 26 5月, 2009 1 次提交
  7. 23 5月, 2009 1 次提交
  8. 15 5月, 2009 1 次提交
  9. 04 5月, 2009 1 次提交
  10. 01 5月, 2009 1 次提交
  11. 18 4月, 2009 1 次提交
  12. 09 4月, 2009 1 次提交
  13. 11 2月, 2009 1 次提交
  14. 06 2月, 2009 1 次提交
  15. 02 2月, 2009 1 次提交
  16. 26 1月, 2009 1 次提交
  17. 18 1月, 2009 1 次提交
  18. 14 1月, 2009 1 次提交
  19. 08 1月, 2009 3 次提交
  20. 03 12月, 2008 1 次提交
  21. 03 10月, 2008 1 次提交
  22. 26 9月, 2008 1 次提交
  23. 20 9月, 2008 1 次提交
  24. 04 9月, 2008 1 次提交
  25. 03 9月, 2008 2 次提交
  26. 20 7月, 2008 2 次提交
  27. 19 7月, 2008 1 次提交
  28. 20 4月, 2008 1 次提交
  29. 02 1月, 2008 1 次提交
  30. 17 12月, 2007 2 次提交
  31. 18 11月, 2007 1 次提交