<div dir="ltr"><div>q35 + virtio-scsi VM won't start because both cdrom and harddisk are mapped to sda</div><div><br></div><div>I have created a q35 VM using virt-shell:</div><div><br></div><div>add vm --template-id 00000000-0000-0000-0000-000000000000 --cluster-id 16dc2c02-7d14-40a9-b170-cfdfdf63565b --name TESTVM --virtio_scsi-enabled 1 --os-type rhel_7x64 --custom_emulated_machine pc-q35-rhel7.3.0<br></div><div><br></div><div>When I try to start the VM vdsm shows:</div><div><br></div><div><br></div><div> <disk device="cdrom" snapshot="no" type="file"></div><div> <address bus="0" controller="0" target="0" type="drive" unit="0" /></div><div> <source file="" startupPolicy="optional" /></div><div> <target bus="sata" dev="sda" /></div><div> <readonly /></div><div> </disk></div><div><br></div><div><div> <disk device="disk" snapshot="no" type="file"></div><div> <address bus="0" controller="0" target="0" type="drive" unit="0" /></div><div> <source file="/rhev/data-center/5ac1ff95-d7ac-4b42-89d5-241eef81b9a6/f9aaa65a-0ac7-4c61-a27d-15af39016419/images/ea86a</div><div>e1b-893a-47ac-bde8-8c54b4c30e80/ee90830a-7ce8-452b-ba14-2f79f5c7250a" /></div><div> <target bus="scsi" dev="sda" /></div><div> <serial>ea86ae1b-893a-47ac-bde8-8c54b4c30e80</serial></div><div> <driver cache="none" error_policy="stop" io="threads" name="qemu" type="qcow2" /></div><div> </disk></div></div><div><br></div><div>As a result the VM won't start. If the disk is virtio (vda) it works. Anyway to remove the cdrom device from the VM definition?</div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#000000" face="Droid Sans"><span style="font-size:15px">Richard Chan</span></font></div><div dir="ltr"><br></div></div></div></div>
</div>