Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
VM can not start with virtual blocks.
Version-Release number of selected component (if applicable):
# uname -r
2.6.32-25.el6.x86_64
# rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.56.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1.start a vm by using following command:
usr/libexec/qemu-kvm -rtc-td-hack -bt hci,vlan=0 -no-hpet -usbdevice tablet -drive file=/RHEL-Server-6.0-64.raw,if=ide,format=raw -net nic,macaddr=20:10:43:23:33:42,model=e1000,vlan=0 -net tap,script=/etc/qemu-ifup,vlan=0 -uuid `uuidgen` -vnc :5 -boot dc -cpu qemu64,+sse2 -smp 2 -m 2G -monitor stdio -balloon none -startdate now
"qemu: could not open disk image /RHEL-Server-6.0-64.raw: Success"
2.start a vm by using following command:
# #/usr/libexec/qemu-kvm -rtc-td-hack -no-hpet -usbdevice tablet -drive file=RHEL-Server-5.5-64-virtio.qcow2,media=disk,if=none,id=test -device ide-drive,drive=test -uuid `uuidgen` -vnc :5 -cpu qemu64,+sse2 -smp 2 -m 2G -monitor stdio -balloon none -boot c
qemu: could not open disk image RHEL-Server-5.5-64-virtio.qcow2: Invalid argument
Actual results:
Expected results:
the VM can start successfully.
Additional info:
DownGrade the qemu-kvm to qemu-kvm-0.12.1.2-2.55.el6.x86_64
Start the VM with same command .the VM can start successfully.
It is a regression bug.
Retest from qemu-kvm-0.12.1.2-2.57.el6.x86_64 to qemu-kvm-0.12.1.2-2.60.el6.x86_64,with the same images by using the same commandline.
Still hit this issue.
(In reply to comment #5)
> I suspect you have the wrong parameters. Try without format=raw.
> Also we only support cache=none.
start VM in qemu-kvm-0.12.1.2-2.56.el6.x86_64.
CLI:/usr/libexec/qemu-kvm -rtc-td-hack -no-hpet -usbdevice tablet -drive file=/home/RHEL-Server-5.5-64-virtio.raw,if=virtio,cache=none,boot=on -net nic,macaddr=20:10:43:23:33:42,model=e1000,vlan=0 -net tap,script=/etc/qemu-ifup,vlan=0 -uuid `uuidgen` -vnc :5 -boot dc -cpu qemu64,+sse2 -smp 2 -m 2G -monitor stdio -balloon none -startdate now
Expected Results:
the vm can not start. Error msg:
qemu: could not open disk image /home/RHEL-Server-5.5-64-virtio.raw: Success
Start VM with same command in qemu-kvm-0.12.1.2-2.55.el6.x86_64.the VM can start successfully.
Patch sent to the list.
"raw" image format/protocol was split into "raw" protocol and "file" image. But we didn't changed the block whitelist.
I will use this bugzilla instead of a change to the bugzilla that introduced the regression.
Verified this bug in qemu-kvm-0.12.1.2-2.62.el6.x86_64.
Repeat steps in the description,the VM can start,and work on well.
the bug has already been fixed.