1. 25 10月, 2015 1 次提交
  2. 20 10月, 2015 1 次提交
  3. 19 10月, 2015 16 次提交
  4. 14 10月, 2015 5 次提交
  5. 16 9月, 2015 1 次提交
  6. 11 9月, 2015 2 次提交
  7. 23 7月, 2015 2 次提交
  8. 23 6月, 2015 1 次提交
  9. 30 4月, 2015 1 次提交
  10. 26 2月, 2015 2 次提交
    • M
      qemu-img: Suppress unhelpful extra errors in convert, amend · dc523cd3
      Markus Armbruster 提交于
      img_convert() and img_amend() use qemu_opts_do_parse(), which reports
      errors with qerror_report_err().  Its error messages aren't helpful
      here, the caller reports one that actually makes sense.  Reproducer:
      
          $ qemu-img convert -o backing_format=raw in.img out.img
          qemu-img: Invalid parameter 'backing_format'
          qemu-img: Invalid options for file format 'raw'
      
      To fix, propagate errors through qemu_opts_do_parse().  This lifts the
      error reporting into callers.  Drop it from img_convert() and
      img_amend(), keep it in qemu_chr_parse_compat(), bdrv_img_create().
      
      Since I'm touching qemu_opts_do_parse() anyway, write a function
      comment for it.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      dc523cd3
    • M
      QemuOpts: Drop qemu_opt_set(), rename qemu_opt_set_err(), fix use · f43e47db
      Markus Armbruster 提交于
      qemu_opt_set() is a wrapper around qemu_opt_set() that reports the
      error with qerror_report_err().
      
      Most of its users assume the function can't fail.  Make them use
      qemu_opt_set_err() with &error_abort, so that should the assumption
      ever break, it'll break noisily.
      
      Just two users remain, in util/qemu-config.c.  Switch them to
      qemu_opt_set_err() as well, then rename qemu_opt_set_err() to
      qemu_opt_set().
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      f43e47db
  11. 18 2月, 2015 2 次提交
  12. 15 1月, 2015 1 次提交
  13. 10 1月, 2015 1 次提交
  14. 10 12月, 2014 1 次提交
  15. 23 11月, 2014 1 次提交
    • M
      qemu-char: fix tcp_get_fds · c4095726
      Michael S. Tsirkin 提交于
      tcp_get_fds API discards fds if there's more than 1 of these.
      
      It's tricky to fix this without API changes in the generic case.
      
      However, this API is only used by tests ATM, and tests know how
      many fds they expect.
      
      So let's not waste cycles trying to fix this properly:
      simply assume at most 16 fds (tests use at most 8 now).
      assert if some test tries to get more.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      c4095726
  16. 17 11月, 2014 1 次提交
  17. 09 10月, 2014 1 次提交