Bug 1029887

Summary: qemu-kvm ignores virtio-scsi cdrom as a boot device
Product: Red Hat Enterprise Linux 7 Reporter: David Jaša <djasa>
Component: qemu-kvmAssignee: Hai Huang <hhuang>
Status: CLOSED WORKSFORME QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: acathrow, hhuang, juzhang, sluo, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-27 18:43:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Jaša 2013-11-13 13:19:50 UTC
Description of problem:
qemu-kvm ignores virtio-scsi cdrom as a boot device

Version-Release number of selected component (if applicable):
qemu-kvm-1.5.3-19.el7.x86_64
seavgabios-bin-1.7.2.2-4.el7.noarch
seabios-bin-1.7.2.2-4.el7.noarch
sgabios-bin-0.20110622svn-3.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. define libvirt domain with virtio-scsi cdrom such as:
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/path/to/image.iso'/>
      <target dev='sdb' bus='scsi'/>
      <readonly/>
    </disk>
2. define either <boot order='$INT'/> element within disk element or <boot dev='cdrom'/> within <os> element
3. boot the VM

Actual results:
boot from cdrom is not mentioned, when I enable bootmenu, it doesn't show up there

Expected results:
VM boots from virtio-scsi disk

Additional info:

Comment 1 David Jaša 2013-11-13 13:27:16 UTC
when I delete <address> element and modify the bus parameter to bus='ide', the VM boots just fine...