Bug 1028340

Summary: Can't install guest through CDROM , show internal error
Product: Red Hat Enterprise Linux 7 Reporter: chentao <tachen>
Component: qemu-kvmAssignee: Ademar Reis <areis>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: acathrow, dyuan, hhuang, hyao, juzhang, mzhan, sluo, tzheng, virt-maint, zhwang
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-10 17:28:25 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 chentao 2013-11-08 09:08:44 UTC
Description
Use virt-manager and CDROM to install a guest,it will comes an error shows:
Unable to complete install:internal error: internal error: process exited while connecting to monitor: qemu-kvm: -drive file=/dev/srO,if=none,id=drive-ide0-1-0,readonly=on,format=raw: could not open disk image /dev/srO:Driver 'host_cdrom' is not whitelisted.

Version:
libvirt-1.1.1-11.el7.x86_64
qemu-kvm-1.5.3-17.el7.x86_64
virt-manager-0.10.0-5.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1.Launch virt-manager,choose Local install media(ISO image or CDROM) and through CDROM to install a windows guest.
2.Choose virtio disk with qcow2 format or ide disk with raw format.
3.Begin install the guest,errors shows:internal error: process exited while connecting to monitor: qemu-kvm: -drive file=/dev/srO,if=none,id=drive-ide0-1-0,readonly=on,format=raw: could not open disk image /dev/srO:Driver 'host_cdrom' is not whitelisted.

Actual results:
As description.

Expected results:
Guest can be installed successfully.

Additional info:
Use qemu-kvm-1.5.3-15.el7.x86_64 to install guest through CDROM also has error message:Unable to complete install: 'internal error: process exited while connecting to monitor: qemu-kvm: -drive file=/dev/sr0,if=none,id=drive-ide0-1-0,readonly=on,format=raw: could not open disk image /dev/sr0: Operation not supported
Then use qemu-kvm-1.5.3-14.el7.x86_64 don't have this issue.

Comment 2 juzhang 2013-11-19 07:53:50 UTC
This should a not bug since bz[1].


[1]Bug 760885 - Disable host cdrom passthrough

Best Regards,
Junyi

Comment 3 Ademar Reis 2013-12-10 17:28:25 UTC
(In reply to juzhang from comment #2)
> This should a not bug since bz[1].
> 
> 
> [1]Bug 760885 - Disable host cdrom passthrough

Indeed.