Red Hat Bugzilla – Bug 997263
qemu-iotests failed with qcow2
Last modified: 2013-09-24 09:55:23 EDT
Description of problem:
qemu-iotests failed with qcow2 format, tests(026) failed
Version-Release number of selected component (if applicable):
# uname -r
# rpm -qa | grep qemu-kvm
Steps to Reproduce:
1. clone qemu-iotests code from http://www.kernel.org/pub/scm/linux/kernel/git/hch/qemu-iotests.git
2. cd qemu-iotests and execute test of qcow2
All the tests pass
What's the error,
Can you provide the detail error info.
Created attachment 787145 [details]
pls check the detail log
(In reply to ShupingCui from comment #0)
> Steps to Reproduce:
> 1. clone qemu-iotests code from
> 2. cd qemu-iotests and execute test of qcow2
> #./check -qcow2
This is an outdated repository. The current qemu-iotests version can be found
in upstream qemu.git in the directory tests/qemu-iotests/.
Note, however, that these tests are against current upstream versions of qemu,
so a failure of test cases can just mean that the (correct) output differs
between RHEL 6 and upstream, or that RHEL 6 simply doesn't have features that
are tested. So running qemu-iotests against different versions always means
that some failures are expected and the kind of failure needs to be checked.
026 failing with the old hch qemu-iotests repository is expected, the output
Could you check the correct qemu-iotests in upstream qemu.git to see if the issue still exists? Thanks.
(In reply to Qunfang Zhang from comment #10)
> Hi, Shuping
> Could you check the correct qemu-iotests in upstream qemu.git to see if the
> issue still exists? Thanks.
Hi Qunfang Zhang,
Compare with upstream qemu-kvm with internal qemu-kvm, there has different options and stand output, so if we run upstream qemu-iotests on rhel6 host, 026 will always failed;
can we make qemu-iotest compatible qemu-kvm in rhel6/rhel7?
The RHEL 7 git repository  has it's own qemu-iotests copy in-tree. We'll try to
keep this in sync with the actual RHEL 7 code. For RHEL 6 it's too late to get
this easily, so we're not planning to do this.
 git://git.app.eng.bos.redhat.com/virt/rhel7/qemu-kvm.git master-1.5.3