1. 09 4月, 2013 2 次提交
  2. 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
  3. 22 1月, 2013 1 次提交
  4. 19 12月, 2012 1 次提交
  5. 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
  6. 28 8月, 2012 1 次提交
  7. 10 8月, 2012 2 次提交
  8. 03 8月, 2012 1 次提交
  9. 14 7月, 2012 9 次提交
  10. 22 2月, 2012 1 次提交
  11. 15 2月, 2012 1 次提交
  12. 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
  13. 28 1月, 2012 1 次提交
  14. 28 11月, 2011 1 次提交
  15. 25 11月, 2011 1 次提交
  16. 29 10月, 2011 4 次提交
  17. 01 10月, 2011 1 次提交
  18. 22 8月, 2011 1 次提交
    • B
      esp: avoid structure holes spotted by pahole · 9a975d63
      Blue Swirl 提交于
      Report from pahole on amd64 host:
      struct ESPState {
      	SysBusDevice               busdev;               /*     0  5648 */
      	/* --- cacheline 88 boundary (5632 bytes) was 16 bytes ago --- */
      	uint32_t                   it_shift;             /*  5648     4 */
      
      	/* XXX 4 bytes hole, try to pack */
      
      	qemu_irq                   irq;                  /*  5656     8 */
      	uint8_t                    rregs[16];            /*  5664    16 */
      	uint8_t                    wregs[16];            /*  5680    16 */
      	/* --- cacheline 89 boundary (5696 bytes) --- */
      	int32_t                    ti_size;              /*  5696     4 */
      	uint32_t                   ti_rptr;              /*  5700     4 */
      	uint32_t                   ti_wptr;              /*  5704     4 */
      	uint8_t                    ti_buf[16];           /*  5708    16 */
      	uint32_t                   status;               /*  5724     4 */
      	uint32_t                   dma;                  /*  5728     4 */
      
      	/* XXX 4 bytes hole, try to pack */
      
      	SCSIBus                    bus;                  /*  5736  2120 */
      	/* --- cacheline 122 boundary (7808 bytes) was 48 bytes ago --- */
      	SCSIDevice *               current_dev;          /*  7856     8 */
      	SCSIRequest *              current_req;          /*  7864     8 */
      	/* --- cacheline 123 boundary (7872 bytes) --- */
      	uint8_t                    cmdbuf[16];           /*  7872    16 */
      	uint32_t                   cmdlen;               /*  7888     4 */
      	uint32_t                   do_cmd;               /*  7892     4 */
      	uint32_t                   dma_left;             /*  7896     4 */
      	uint32_t                   dma_counter;          /*  7900     4 */
      	uint8_t *                  async_buf;            /*  7904     8 */
      	uint32_t                   async_len;            /*  7912     4 */
      
      	/* XXX 4 bytes hole, try to pack */
      
      	ESPDMAMemoryReadWriteFunc  dma_memory_read;      /*  7920     8 */
      	ESPDMAMemoryReadWriteFunc  dma_memory_write;     /*  7928     8 */
      	/* --- cacheline 124 boundary (7936 bytes) --- */
      	void *                     dma_opaque;           /*  7936     8 */
      	int                        dma_enabled;          /*  7944     4 */
      
      	/* XXX 4 bytes hole, try to pack */
      
      	void                       (*dma_cb)(ESPState *); /*  7952     8 */
      
      	/* size: 7960, cachelines: 125 */
      	/* sum members: 7944, holes: 4, sum holes: 16 */
      	/* last cacheline: 24 bytes */
      };	/* definitions: 1 */
      
      Fix by rearranging the structure to avoid padding.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      9a975d63
  19. 12 8月, 2011 1 次提交
  20. 19 7月, 2011 1 次提交
  21. 13 7月, 2011 1 次提交
  22. 03 7月, 2011 1 次提交
  23. 26 5月, 2011 5 次提交