1. 13 1月, 2017 1 次提交
  2. 15 11月, 2016 1 次提交
    • M
      block/curl: Drop TFTP "support" · 23dce387
      Max Reitz 提交于
      Because TFTP does not support byte ranges, it was never usable with our
      curl block driver. Since apparently nobody has ever complained loudly
      enough for someone to take care of the issue until now, it seems
      reasonable to assume that nobody has ever actually used it.
      
      Therefore, it should be safe to just drop it from curl's protocol list.
      
      [Jeff Cody: Below is additional summary pulled, with some rewording,
                  from followup emails between Max and Markus, to explain what
                  worked and what didn't]
      
      TFTP would sometimes work, to a limited extent, for images <= the curl
      "readahead" size, so long as reads started at offset zero.  By default,
      that readahead size is 256KB.
      
      Reads starting at a non-zero offset would also have returned data from a
      zero offset.  It can become more complicated still, with mixed reads at
      zero offset and non-zero offsets, due to data buffering.
      
      In short, TFTP could only have worked before in very specific scenarios
      with unrealistic expectations and constraints.
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      Reviewed-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NJeff Cody <jcody@redhat.com>
      Message-id: 20161102175539.4375-4-mreitz@redhat.com
      Signed-off-by: NJeff Cody <jcody@redhat.com>
      23dce387
  3. 31 10月, 2016 1 次提交
  4. 30 10月, 2016 3 次提交
  5. 24 10月, 2016 1 次提交
  6. 13 10月, 2016 1 次提交
  7. 08 10月, 2016 1 次提交
  8. 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
  9. 23 9月, 2016 7 次提交
  10. 20 9月, 2016 1 次提交
  11. 19 9月, 2016 3 次提交
  12. 06 9月, 2016 14 次提交
  13. 16 8月, 2016 1 次提交
  14. 20 7月, 2016 1 次提交
  15. 19 7月, 2016 1 次提交
  16. 13 7月, 2016 2 次提交