1. 13 3月, 2017 1 次提交
  2. 12 2月, 2017 1 次提交
    • Q
      iotests: Fix a problem in common.filter · b135233b
      QingFeng Hao 提交于
      If TEST_DIR is set to /tmp, test case 144 will fail. The reason is that
      TEST_DIR resembles 144's test image name tmp.qcow2.
      When 144 is testing $TEST_DIR/tmp.qcow2, it wants to replace
      $TEST_DIR/tmp.qcow2 to TEST_DIR/tmp.qcow2, but actually it will fail
      and get TEST_DIRTEST_DIR.qcow2 in this case.
      The fix is just to modify the code to replace $TEST_DIR/ with TEST_DIR/.
      Signed-off-by: NQingFeng Hao <haoqf@linux.vnet.ibm.com>
      Message-id: 20161216054723.96055-2-haoqf@linux.vnet.ibm.com
      Reviewed-by: NEric Blake <eblake@redhat.com>
      [mreitz: Fixed commit message and dropped superfluous escaping]
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      b135233b
  3. 21 9月, 2016 1 次提交
    • R
      qemu-img: add the 'dd' subcommand · 86ce1f6e
      Reda Sallahi 提交于
      This patch adds a basic dd subcommand analogous to dd(1) to qemu-img.
      
      For the start, this implements the bs, if, of and count options and requires
      both if and of to be specified (no stdin/stdout if not specified) and doesn't
      support tty, pipes, etc.
      
      The image format must be specified with -O for the output if the raw format
      is not the intended one.
      
      Two tests are added to test qemu-img dd.
      Signed-off-by: NReda Sallahi <fullmanet@gmail.com>
      Message-id: 20160810024312.14544-1-fullmanet@gmail.com
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      [mreitz: Moved test 158 to 170]
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      86ce1f6e
  4. 08 8月, 2016 1 次提交
    • V
      iotests: fix 109 · a752e478
      Vladimir Sementsov-Ogievskiy 提交于
      109 iotest is broken for raw after 0965a41e
      [mirror: double performance of the bulk stage if the disc is full]
      
      The problem is with finishing block-job with error: before specified
      patch mirror was not very async and it created one big request at disk
      start, this request finished with error and qemu produced
      BLOCK_JOB_COMPLETED with zero progress.
      
      After 0965a41e, mirror starts several smaller requests in parallel, when
      BLOCK_JOB_COMPLETED emited we have some successful non-zero progress.
      
      This patch solves the issue by filtering out progress from 109 test
      output.
      Signed-off-by: NVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      a752e478
  5. 12 5月, 2016 2 次提交
  6. 15 4月, 2016 1 次提交
  7. 03 2月, 2016 3 次提交
  8. 16 10月, 2015 1 次提交
  9. 11 9月, 2015 1 次提交
  10. 10 3月, 2015 1 次提交
  11. 07 2月, 2015 1 次提交
    • M
      iotests: Fix 104 for NBD · a231cb27
      Max Reitz 提交于
      _make_test_img sets up an NBD server, _cleanup_test_img shuts it down;
      thus, _cleanup_test_img has to be called before _make_test_img is
      invoked another time.
      
      Furthermore, the pipe through _filter_test_img was unnecessary;
      _make_test_img already takes care of that.
      
      And finally, a filter is added to _filter_img_info to replace
      "nbd://127.0.0.1:10810" by "TEST_DIR/t.IMGFMT", since the former is the
      way to express the full image path (normally the latter) for NBD tests.
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      a231cb27
  12. 13 1月, 2015 2 次提交
  13. 12 12月, 2014 1 次提交
  14. 10 12月, 2014 1 次提交
  15. 03 11月, 2014 1 次提交
  16. 12 9月, 2014 1 次提交
  17. 20 8月, 2014 1 次提交
  18. 19 5月, 2014 1 次提交
  19. 06 12月, 2013 1 次提交
    • S
      qemu-iotests: filter QEMU monitor \r\n · ac9524dc
      Stefan Hajnoczi 提交于
      SMTP does not preserve newlines.  This is normally not a problem if the
      email body uses DOS or UNIX newlines consistently.  In 051.out we mix
      UNIX newlines with DOS newlines (since QEMU monitor output uses \r\n).
      
      This patch filters the QEMU monitor output so the golden master file
      uses UNIX newlines exclusively.
      
      The result is that patches touching 051.out will apply cleanly without
      mangling newlines after this commit.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      ac9524dc
  20. 30 11月, 2013 1 次提交
  21. 11 10月, 2013 1 次提交
  22. 06 9月, 2013 1 次提交
  23. 06 8月, 2013 1 次提交
  24. 15 7月, 2013 1 次提交
  25. 22 4月, 2013 1 次提交
  26. 15 4月, 2013 1 次提交
  27. 29 2月, 2012 1 次提交
  28. 23 2月, 2012 1 次提交
  29. 22 2月, 2012 4 次提交