1. 23 2月, 2013 1 次提交
    • P
      blockdev: enable discard by default · 215e47b9
      Paolo Bonzini 提交于
      Because discard is now a host parameter, we can always fake it as enabled
      in the guest.  This is an extension of the current choice to ignore
      "not supported" errors from the host when discard_granularity is set
      to nonzero.
      
      The default granularity is set to the logical block size or 4k, whichever
      is largest, because cluster sizes below 4k are rarely used and 4K is a
      typical block size for files.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      215e47b9
  2. 22 1月, 2013 1 次提交
  3. 15 1月, 2013 1 次提交
  4. 11 1月, 2013 1 次提交
    • A
      Make all static TypeInfos const · 8c43a6f0
      Andreas Färber 提交于
      Since 39bffca2 (qdev: register all
      types natively through QEMU Object Model), TypeInfo as used in
      the common, non-iterative pattern is no longer amended with information
      and should therefore be const.
      
      Fix the documented QOM examples:
      
       sed -i 's/static TypeInfo/static const TypeInfo/g' include/qom/object.h
      
      Since frequently the wrong examples are being copied by contributors of
      new devices, fix all types in the tree:
      
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*.c
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*/*.c
      
      This also avoids to piggy-back these changes onto real functional
      changes or other refactorings.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8c43a6f0
  5. 19 12月, 2012 2 次提交
  6. 12 11月, 2012 3 次提交
  7. 05 10月, 2012 1 次提交
  8. 29 9月, 2012 4 次提交
  9. 21 9月, 2012 4 次提交
  10. 30 8月, 2012 1 次提交
  11. 28 8月, 2012 1 次提交
  12. 09 8月, 2012 3 次提交
  13. 07 8月, 2012 1 次提交
  14. 03 8月, 2012 2 次提交
  15. 27 7月, 2012 4 次提交
  16. 26 7月, 2012 10 次提交