<div dir="ltr"><div>q35 + virtio-scsi VM won&#39;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>        &lt;disk device=&quot;cdrom&quot; snapshot=&quot;no&quot; type=&quot;file&quot;&gt;</div><div>            &lt;address bus=&quot;0&quot; controller=&quot;0&quot; target=&quot;0&quot; type=&quot;drive&quot; unit=&quot;0&quot; /&gt;</div><div>            &lt;source file=&quot;&quot; startupPolicy=&quot;optional&quot; /&gt;</div><div>            &lt;target bus=&quot;sata&quot; dev=&quot;sda&quot; /&gt;</div><div>            &lt;readonly /&gt;</div><div>        &lt;/disk&gt;</div><div><br></div><div><div>        &lt;disk device=&quot;disk&quot; snapshot=&quot;no&quot; type=&quot;file&quot;&gt;</div><div>            &lt;address bus=&quot;0&quot; controller=&quot;0&quot; target=&quot;0&quot; type=&quot;drive&quot; unit=&quot;0&quot; /&gt;</div><div>            &lt;source file=&quot;/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&quot; /&gt;</div><div>            &lt;target bus=&quot;scsi&quot; dev=&quot;sda&quot; /&gt;</div><div>            &lt;serial&gt;ea86ae1b-893a-47ac-bde8-8c54b4c30e80&lt;/serial&gt;</div><div>            &lt;driver cache=&quot;none&quot; error_policy=&quot;stop&quot; io=&quot;threads&quot; name=&quot;qemu&quot; type=&quot;qcow2&quot; /&gt;</div><div>        &lt;/disk&gt;</div></div><div><br></div><div>As a result the VM won&#39;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>