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.