1. 17 4月, 2013 1 次提交
  2. 15 4月, 2013 2 次提交
  3. 09 4月, 2013 1 次提交
    • P
      hw: move headers to include/ · 0d09e41a
      Paolo Bonzini 提交于
      Many of these should be cleaned up with proper qdev-/QOM-ification.
      Right now there are many catch-all headers in include/hw/ARCH depending
      on cpu.h, and this makes it necessary to compile these files per-target.
      However, fixing this does not belong in these patches.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      0d09e41a
  4. 26 3月, 2013 2 次提交
  5. 20 3月, 2013 2 次提交
  6. 19 3月, 2013 2 次提交
  7. 09 3月, 2013 1 次提交
  8. 08 2月, 2013 1 次提交
  9. 01 2月, 2013 1 次提交
  10. 30 1月, 2013 2 次提交
  11. 22 1月, 2013 2 次提交
  12. 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
  13. 20 12月, 2012 1 次提交
  14. 19 12月, 2012 5 次提交
  15. 16 11月, 2012 1 次提交
  16. 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
  17. 17 7月, 2012 1 次提交
  18. 18 6月, 2012 2 次提交
  19. 11 6月, 2012 1 次提交
  20. 22 5月, 2012 2 次提交
    • P
      virtio-blk: always enable VIRTIO_BLK_F_SCSI · a6c5c84a
      Paolo Bonzini 提交于
      VIRTIO_BLK_F_SCSI is supposed to mean whether the host can *parse*
      SCSI requests, not *execute* them.  You could run QEMU with scsi=on
      and a file-backed disk, and QEMU would fail all SCSI requests even
      though it advertises VIRTIO_BLK_F_SCSI.
      
      Because we need to do this to fix a migration compatibility problem
      related to how QEMU is invoked by management, we must do this
      unconditionally even on older machine types.  This more or less assumes
      that no one ever invoked QEMU with scsi=off.
      
      Here is how testing goes:
      
      - old QEMU, scsi=on -> new QEMU, scsi=on
      - new QEMU, scsi=on -> old QEMU, scsi=on
      - old QEMU, scsi=off -> new QEMU, scsi=on
      - new QEMU, scsi=off -> old QEMU, scsi=on
              ok (new QEMU has VIRTIO_BLK_F_SCSI, adding host features is fine)
      
      - old QEMU, scsi=off -> new QEMU, scsi=off
              ok (new QEMU has VIRTIO_BLK_F_SCSI, adding host features is fine)
      
      - old QEMU, scsi=on -> new QEMU, scsi=off
              ok, bug fixed
      
      - new QEMU, scsi=on -> old QEMU, scsi=off
              doesn't work (same as: old QEMU, scsi=on -> old QEMU, scsi=off)
      
      - new QEMU, scsi=off -> old QEMU, scsi=off
              broken by the patch
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      a6c5c84a
    • P
      virtio-blk: define VirtIOBlkConf · 12c5674b
      Paolo Bonzini 提交于
      We will have to add another field to the virtio-blk configuration in
      the next patch.  Avoid a proliferation of arguments to virtio_blk_init.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      12c5674b
  21. 02 5月, 2012 2 次提交
  22. 15 3月, 2012 1 次提交
  23. 22 2月, 2012 1 次提交
  24. 15 2月, 2012 1 次提交
  25. 07 2月, 2012 1 次提交
  26. 04 2月, 2012 2 次提交