1. 04 6月, 2015 1 次提交
  2. 26 2月, 2015 1 次提交
  3. 13 2月, 2015 1 次提交
  4. 26 1月, 2015 1 次提交
  5. 15 1月, 2015 1 次提交
  6. 10 12月, 2014 1 次提交
  7. 16 6月, 2014 1 次提交
  8. 14 2月, 2014 1 次提交
  9. 23 12月, 2013 2 次提交
    • M
      vt82c686: Clean up use of cannot_instantiate_with_device_add_yet · 04916ee9
      Markus Armbruster 提交于
      A VT82C686B southbridge has multiple functions.  We model each
      function as a separate qdev.  One of them need some special wiring set
      up in mips_fulong2e_init() to work: the ISA bridge at 05.0.
      
      The IDE controller at 05.1 (via-ide) has always had
      cannot_instantiate_with_device_add_yet set, but there is no obvious
      reason why device_add could not work for them.  Drop it.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      04916ee9
    • M
      qdev: Replace no_user by cannot_instantiate_with_device_add_yet · efec3dd6
      Markus Armbruster 提交于
      In an ideal world, machines can be built by wiring devices together
      with configuration, not code.  Unfortunately, that's not the world we
      live in right now.  We still have quite a few devices that need to be
      wired up by code.  If you try to device_add such a device, it'll fail
      in sometimes mysterious ways.  If you're lucky, you get an
      unmysterious immediate crash.
      
      To protect users from such badness, DeviceClass member no_user used to
      make device models unavailable with -device / device_add, but that
      regressed in commit 18b6dade.  The device model is still omitted from
      help, but is available anyway.
      
      Attempts to fix the regression have been rejected with the argument
      that the purpose of no_user isn't clear, and it's prone to misuse.
      
      This commit clarifies no_user's purpose.  Anthony suggested to rename
      it cannot_instantiate_with_device_add_yet_due_to_internal_bugs, which
      I shorten somewhat to keep checkpatch happy.  While there, make it
      bool.
      
      Every use of cannot_instantiate_with_device_add_yet gets a FIXME
      comment asking for rationale.  The next few commits will clean them
      all up, either by providing a rationale, or by getting rid of the use.
      
      With that done, the regression fix is hopefully acceptable.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NMarcel Apfelbaum <marcel.a@redhat.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      efec3dd6
  10. 14 10月, 2013 1 次提交
  11. 29 7月, 2013 1 次提交
  12. 04 7月, 2013 4 次提交
  13. 07 6月, 2013 1 次提交
  14. 09 4月, 2013 2 次提交
  15. 04 4月, 2013 1 次提交
  16. 01 3月, 2013 2 次提交
  17. 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
  18. 19 12月, 2012 3 次提交
  19. 17 12月, 2012 1 次提交
  20. 04 12月, 2012 7 次提交
  21. 20 6月, 2012 1 次提交
    • G
      Add PIIX4 properties to control PM system states. · 459ae5ea
      Gleb Natapov 提交于
      This patch adds two things. First it allows QEMU to distinguish between
      regular powerdown and S4 powerdown. Later separate QMP notification will
      be added for S4 powerdown. Second it allows S3/S4 states to be disabled
      from QEMU command line. Some guests known to be broken with regards to
      power management, but allow to use it anyway. Using new properties
      management will be able to disable S3/S4 for such guests.
      
      Supported system state are passed to a firmware using new fw_cfg file.
      The file contains  6 byte array. Each byte represents one system
      state. If byte at offset X has its MSB set it means that system state
      X is supported and to enter it guest should use the value from lowest 3
      bits.
      Signed-off-by: NGleb Natapov <gleb@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      459ae5ea
  22. 25 2月, 2012 4 次提交
  23. 15 2月, 2012 1 次提交