1. 08 2月, 2014 5 次提交
  2. 04 2月, 2014 1 次提交
  3. 03 2月, 2014 1 次提交
  4. 31 1月, 2014 1 次提交
  5. 28 1月, 2014 1 次提交
  6. 26 1月, 2014 8 次提交
  7. 21 1月, 2014 3 次提交
  8. 16 1月, 2014 1 次提交
    • G
      usb: add support for microsoft os descriptors · 5319dc7b
      Gerd Hoffmann 提交于
      This patch adds support for special usb descriptors used by microsoft
      windows.  They allow more fine-grained control over driver binding and
      adding entries to the registry for configuration.
      
      As this is a guest-visible change the "msos-desc" compat property
      has been added to turn this off for 1.7 + older
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      5319dc7b
  9. 09 1月, 2014 1 次提交
  10. 08 1月, 2014 1 次提交
  11. 07 1月, 2014 1 次提交
  12. 01 1月, 2014 2 次提交
  13. 25 12月, 2013 5 次提交
  14. 24 12月, 2013 1 次提交
  15. 23 12月, 2013 5 次提交
    • P
      qdev: switch reset to post-order · dcc20931
      Paolo Bonzini 提交于
      Post-order is the only sensible direction for the reset signals.
      For example, suppose pre-order is used and the parent has some data
      structures that cache children state (for example a list of active
      requests).  When the reset method is invoked on the parent, these caches
      could be in any state.
      
      If post-order is used, on the other hand, these will be in a known state
      when the reset method is invoked on the parent.
      
      This change means that it is no longer possible to block the visit of
      the devices, so the callback is changed to return void.  This is not
      a problem, because PCI was returning 1 exactly in order to achieve the
      same ordering that this patch implements.
      
      PCI can then rely on the qdev core having sent a "reset signal" (whatever
      that means) to the device, and only do the PCI-specific initialization
      with pci_do_device_reset.
      
      MST: fixed up virtio-ccw
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      dcc20931
    • P
      qdev: allow both pre- and post-order vists in qdev walking functions · 0293214b
      Paolo Bonzini 提交于
      Resetting should be done in post-order, not pre-order.  However,
      qdev_walk_children and qbus_walk_children do not allow this.  Fix
      it by adding two extra arguments to the functions.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      0293214b
    • P
      pci: do not export pci_bus_reset · 81e3e75b
      Paolo Bonzini 提交于
      qbus_reset_all can be used instead.  There is no semantic change
      because pcibus_reset returns 1 and takes care of the device
      tree traversal.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      81e3e75b
    • I
      acpi: factor out common pm_update_sci() into acpi core · 06313503
      Igor Mammedov 提交于
      ... and rename it into acpi_update_sci() since it changes
      SCI on only on PM registers status.
      Signed-off-by: NIgor Mammedov <imammedo@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      06313503
    • 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
  16. 20 12月, 2013 3 次提交