1. 30 10月, 2018 4 次提交
  2. 19 10月, 2018 1 次提交
    • M
      blockdev: Convert drive_new() to Error · c4f26c9f
      Markus Armbruster 提交于
      Calling error_report() from within a function that takes an Error **
      argument is suspicious.  drive_new() calls error_report() even though
      it can run within drive_init_func(), which takes an Error ** argument.
      drive_init_func()'s caller main(), via qemu_opts_foreach(), is fine
      with it, but clean it up anyway:
      
      * Convert drive_new() to Error
      
      * Update add_init_drive() to report the error received from
        drive_new()
      
      * Make main() pass &error_fatal through qemu_opts_foreach(),
        drive_init_func() to drive_new()
      
      * Make default_drive() pass &error_abort through qemu_opts_foreach(),
        drive_init_func() to drive_new()
      
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: Max Reitz <mreitz@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NMax Reitz <mreitz@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-Id: <20181017082702.5581-34-armbru@redhat.com>
      c4f26c9f
  3. 25 9月, 2018 8 次提交
  4. 15 8月, 2018 4 次提交
  5. 10 7月, 2018 4 次提交
  6. 03 7月, 2018 1 次提交
  7. 18 6月, 2018 1 次提交
  8. 15 6月, 2018 5 次提交
  9. 12 6月, 2018 5 次提交
  10. 23 5月, 2018 7 次提交
新手
引导
客服 返回
顶部