1. 04 2月, 2012 2 次提交
    • A
      qdev: remove baked in notion of aliases (v2) · 6acbe4c6
      Anthony Liguori 提交于
      Limit them to the device_add functionality.  Device aliases were a hack based
      on the fact that virtio was modeled the wrong way.  The mechanism for aliasing
      is very limited in that only one alias can exist for any device.
      
      We have to support it for the purposes of compatibility but we only need to
      support it in device_add so restrict it to that piece of code.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ---
      v1 -> v2
       - Use a table for aliases (Paolo)
      6acbe4c6
    • 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
  2. 28 1月, 2012 3 次提交
  3. 13 12月, 2011 1 次提交
  4. 02 11月, 2011 1 次提交
  5. 29 10月, 2011 4 次提交
  6. 05 10月, 2011 1 次提交
  7. 20 9月, 2011 1 次提交
  8. 12 9月, 2011 1 次提交
  9. 10 9月, 2011 1 次提交
  10. 21 8月, 2011 1 次提交
  11. 12 8月, 2011 1 次提交
  12. 08 8月, 2011 2 次提交
  13. 24 7月, 2011 1 次提交
  14. 19 7月, 2011 1 次提交
  15. 20 6月, 2011 1 次提交
  16. 12 6月, 2011 1 次提交
  17. 26 5月, 2011 10 次提交
  18. 08 5月, 2011 1 次提交
  19. 07 4月, 2011 1 次提交
  20. 02 4月, 2011 1 次提交
  21. 07 3月, 2011 1 次提交
  22. 15 1月, 2011 1 次提交
    • A
      lsi53c895a: fix endianness issues · 3bd4be3a
      Aurelien Jarno 提交于
      lsi_ram_read*() and lsi_ram_write*() are not consistent, one uses
      leXX_to_cpu() the other uses nothing. As the comment above the RAM
      declaration says: "Script ram is stored as 32-bit words in host
      byteorder.", remove the leXX_to_cpu() calls.
      
      This fixes the boot of an ARM versatile machine on MIPS and PowerPC
      hosts.
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      3bd4be3a
  23. 11 12月, 2010 1 次提交
    • A
      Add endianness as io mem parameter · 2507c12a
      Alexander Graf 提交于
      As stated before, devices can be little, big or native endian. The
      target endianness is not of their concern, so we need to push things
      down a level.
      
      This patch adds a parameter to cpu_register_io_memory that allows a
      device to choose its endianness. For now, all devices simply choose
      native endian, because that's the same behavior as before.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      2507c12a
  24. 22 11月, 2010 1 次提交