1. 22 Aug, 2013 1 commit
  2. 29 Jul, 2013 2 commits
  3. 25 Jul, 2013 1 commit
  4. 07 Jul, 2013 1 commit
    • David Gibson's avatar
      pci: Add root bus parameter to pci_nic_init() · 29b358f9
      David Gibson authored
      
      
      At present, pci_nic_init() and pci_nic_init_nofail() assume that they will
      only create a NIC under the primary PCI root.  As we add support for
      multiple PCI roots, that may no longer be the case.  This patch adds a root
      bus parameter to pci_nic_init() (and updates callers accordingly) to allow
      the machine init code using it to specify the right PCI root for NICs
      created by old-style -net nic parameters.  NICs created new-style, with
      -device can of course be put anywhere.
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      29b358f9
  5. 04 Jul, 2013 2 commits
  6. 07 Jun, 2013 1 commit
  7. 02 Jun, 2013 2 commits
  8. 27 Apr, 2013 1 commit
  9. 08 Apr, 2013 1 commit
    • Paolo Bonzini's avatar
      hw: move headers to include/ · 0d09e41a
      Paolo Bonzini authored
      
      
      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: default avatarPaolo Bonzini <pbonzini@redhat.com>
      0d09e41a
  10. 12 Mar, 2013 3 commits
  11. 01 Mar, 2013 2 commits
  12. 27 Jan, 2013 1 commit
  13. 21 Jan, 2013 1 commit
  14. 19 Jan, 2013 1 commit
  15. 16 Jan, 2013 1 commit
  16. 10 Jan, 2013 1 commit
    • Andreas Färber's avatar
      Make all static TypeInfos const · 8c43a6f0
      Andreas Färber authored
      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: default avatarAndreas Färber <afaerber@suse.de>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      8c43a6f0
  17. 19 Dec, 2012 4 commits
  18. 17 Dec, 2012 1 commit
  19. 31 Oct, 2012 1 commit
  20. 23 Oct, 2012 1 commit
    • Avi Kivity's avatar
      Rename target_phys_addr_t to hwaddr · a8170e5e
      Avi Kivity authored
      
      
      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: default avatarAvi Kivity <avi@redhat.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      a8170e5e
  21. 22 Oct, 2012 1 commit
  22. 20 Oct, 2012 1 commit
    • Eduardo Habkost's avatar
      create struct for machine initialization arguments · 5f072e1f
      Eduardo Habkost authored
      
      
      This should help us to:
      - More easily add or remove machine initialization arguments without
        having to change every single machine init function;
      - More easily make mechanical changes involving the machine init
        functions in the future;
      - Let machine initialization forward the init arguments to other
        functions more easily.
      
      This change was half-mechanical process: first the struct was added with
      the local ram_size, boot_device, kernel_*, initrd_*, and cpu_model local
      variable initialization to all functions. Then the compiler helped me
      locate the local variables that are unused, so they could be removed.
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      5f072e1f
  23. 13 Oct, 2012 3 commits
  24. 06 Oct, 2012 2 commits
  25. 15 Aug, 2012 1 commit
  26. 04 Jun, 2012 3 commits