1. 16 1月, 2017 5 次提交
  2. 07 12月, 2016 1 次提交
  3. 06 12月, 2016 1 次提交
  4. 07 10月, 2016 1 次提交
    • K
      block: Add qdev ID to DEVICE_TRAY_MOVED · 2d76e724
      Kevin Wolf 提交于
      The event currently only contains the BlockBackend name. However, with
      anonymous BlockBackends, this is always the empty string. Add the qdev
      ID (or if none was given, the QOM path) so that the user can still see
      which device caused the event.
      
      Event generation has to be moved from bdrv_eject() to the BlockBackend
      because the BDS doesn't know the attached device, but that's easy
      because blk_eject() is the only user of it.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NMax Reitz <mreitz@redhat.com>
      2d76e724
  5. 23 9月, 2016 1 次提交
  6. 06 9月, 2016 3 次提交
  7. 14 3月, 2016 1 次提交
  8. 17 2月, 2016 1 次提交
  9. 26 1月, 2016 1 次提交
  10. 09 10月, 2015 1 次提交
  11. 06 5月, 2015 1 次提交
    • E
      qapi: Use 'struct' instead of 'type' in schema · 895a2a80
      Eric Blake 提交于
      Referring to "type" as both a meta-type (built-in, enum, union,
      alternate, or struct) and a specific type (the name that the
      schema uses for declaring structs) is confusing.  Do the bulk of
      the conversion to "struct" in qapi schema, with a fairly
      mechanical:
      
      for f in `find -name '*.json'; do sed -i "s/'type'/'struct'/"; done
      
      followed by manually filtering out the places where we have a
      'type' embedded in 'data'.  Then tweak a couple of tests whose
      output changes slightly due to longer lines.
      
      I also verified that the generated files for QMP and QGA (such
      as qmp-commands.h) are the same before and after, as assurance
      that I didn't leave in any accidental member name changes.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      895a2a80
  12. 23 6月, 2014 1 次提交
  13. 06 6月, 2014 2 次提交