1. 15 11月, 2016 1 次提交
  2. 28 10月, 2016 5 次提交
  3. 07 10月, 2016 4 次提交
  4. 29 9月, 2016 2 次提交
  5. 23 9月, 2016 1 次提交
  6. 06 9月, 2016 4 次提交
  7. 20 7月, 2016 4 次提交
  8. 13 7月, 2016 2 次提交
    • K
      block/qdev: Allow configuring rerror/werror with qdev properties · 8c398252
      Kevin Wolf 提交于
      The rerror/werror policies are implemented in the devices, so that's
      where they should be configured. In comparison to the old options in
      -drive, the qdev properties are only added to those devices that
      actually support them.
      
      If the option isn't given (or "auto" is specified), the setting of the
      BlockBackend is used for compatibility with the old options. For block
      jobs, "auto" is the same as "enospc".
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NMax Reitz <mreitz@redhat.com>
      8c398252
    • P
      coroutine: move entry argument to qemu_coroutine_create · 0b8b8753
      Paolo Bonzini 提交于
      In practice the entry argument is always known at creation time, and
      it is confusing that sometimes qemu_coroutine_enter is used with a
      non-NULL argument to re-enter a coroutine (this happens in
      block/sheepdog.c and tests/test-coroutine.c).  So pass the opaque value
      at creation time, for consistency with e.g. aio_bh_new.
      
      Mostly done with the following semantic patch:
      
      @ entry1 @
      expression entry, arg, co;
      @@
      - co = qemu_coroutine_create(entry);
      + co = qemu_coroutine_create(entry, arg);
        ...
      - qemu_coroutine_enter(co, arg);
      + qemu_coroutine_enter(co);
      
      @ entry2 @
      expression entry, arg;
      identifier co;
      @@
      - Coroutine *co = qemu_coroutine_create(entry);
      + Coroutine *co = qemu_coroutine_create(entry, arg);
        ...
      - qemu_coroutine_enter(co, arg);
      + qemu_coroutine_enter(co);
      
      @ entry3 @
      expression entry, arg;
      @@
      - qemu_coroutine_enter(qemu_coroutine_create(entry), arg);
      + qemu_coroutine_enter(qemu_coroutine_create(entry, arg));
      
      @ reentry @
      expression co;
      @@
      - qemu_coroutine_enter(co, NULL);
      + qemu_coroutine_enter(co);
      
      except for the aforementioned few places where the semantic patch
      stumbled (as expected) and for test_co_queue, which would otherwise
      produce an uninitialized variable warning.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: NFam Zheng <famz@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      0b8b8753
  9. 05 7月, 2016 4 次提交
  10. 26 5月, 2016 8 次提交
  11. 19 5月, 2016 5 次提交