Bug 593541

Summary: werror and rerror is no supported when using -drive ... -device... options boot guests
Product: Red Hat Enterprise Linux 6 Reporter: juzhang <juzhang>
Component: qemu-kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0CC: michen, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-19 07:14:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description juzhang 2010-05-19 05:05:53 UTC
Description of problem:
when using "-drive file=/root/zhangjunyi/rhel6_64_ide.qcow2,if=none,boot=on,cache=off,format=qcow2,id=test,werror=stop,rerror=stop -device ide-drive,drive=test" in stead of "-drive file=/root/zhangjunyi/rhel6_64_ide.qcow2,if=ide,boot=on,cache=off,werror=stop,rerror=stop,format=qcow2" lead to qemu-kvm aborted with the error "werror is no supported by this format".

Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.53.el6
host kernel:2.6.32-25.el6.x86_64

How reproducible:


Steps to Reproduce:
1.boot guest
/usr/libexec/qemu-kvm  -no-hpet -usbdevice tablet -rtc-td-hack -m 2G -smp 2 -drive file=/root/zhangjunyi/rhel6_64_ide.qcow2,if=none,boot=on,cache=off,format=qcow2,id=test,werror=stop,rerror=stop -device ide-drive,drive=test -net nic,vlan=0,macaddr=22:11:22:45:66:97,model=virtio -net tap,vlan=0,script=/etc/qemu-ifup -uuid `uuidgen` -cpu qemu64,+sse2 -device virtio-balloon-pci -boot order=cn,menu=on -M rhel6.0.0 -monitor stdio -vnc :11


Actual results:
qemu-kvm was aborted with the error "werror is no supported by this format"

Expected results:
guest should be boot successful and  werror/rerror should be supported.

Additional info:
when using the following command boot guest,we can boot guest successfully and werror/rerror is supported. 

/usr/libexec/qemu-kvm  -no-hpet -usbdevice tablet -rtc-td-hack -m 2G -smp 2 -drive file=/root/zhangjunyi/rhel6_64_ide.qcow2,if=ide,boot=on,cache=off,werror=stop,rerror=stop -net nic,vlan=0,macaddr=22:11:22:45:66:97,model=virtio -net tap,vlan=0,script=/etc/qemu-ifup -uuid `uuidgen` -cpu qemu64,+sse2 -device virtio-balloon-pci -boot order=cn,menu=on -M rhel6.0.0 -monitor stdio -vnc :11

Comment 2 juzhang 2010-05-19 07:14:23 UTC
duplicate bz565609,close this issue,I will fellow up bz565609.

*** This bug has been marked as a duplicate of bug 565609 ***