Comment 10 for bug 1930398

Revision history for this message
gu (cshaven) wrote :

I create new vm with sata cdrom,machine='pc-q35-4.2' .get the same error
  iso :CentOS-7-x86_64-Minimal-1804.iso
  set sata cdrom boot first

1.boot from iso and install os ,cdrom show tray is not open, can eject from virt-manager
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/var/lib/libvirt/images/CentOS-7-x86_64-Minimal-1804.iso' index='1'/>
      <backingStore/>
      <target dev='sda' bus='sata'/>
      <readonly/>
      <boot order='1'/>
      <alias name='sata0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>

2.Complete the installation process,boot from iso again ,the cdrom show tray is open , cannot eject from virt-manager
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/var/lib/libvirt/images/CentOS-7-x86_64-Minimal-1804.iso' index='1'/>
      <backingStore/>
      <target dev='sda' bus='sata' tray='open'/>
      <readonly/>
      <boot order='1'/>
      <alias name='sata0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>