virt-install --connect qemu:///system --name=win7 --os-variant=win7 --ram=1024 --vcpus=2 --disk path=/d/virtual-machine/win7.img,format=qcow2,size=40,bus=virtio --accelerate --vnc --vncport=5910 --vnclisten=0.0.0.0 --network bridge=br0,model=virtio --noautoconsole --cdrom=/dev/sr0 virsh attach-disk testbed /dev/sr0 hdc --type cdrom Starting install... ERROR 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: Driver 'host_cdrom' is not whitelisted 折腾了老久,你她嘛个13的,原来redhat也搞不定, https://bugzilla.redhat.com/show_bug.cgi?id=1072610
Should not propose to install from CD/DVD in RHEL7 Description of problem: CD/DVD host passthrough has been disabled in RHEL7. See #760885 How reproducible: 100% Steps to Reproduce: 1. Setup a new VM using host CD/DVD drive 2. 3. Actual results: fails (see #760885 for reported error) Expected results: Shouldn't propose to install from host CD/DVD 转载请保留固定链接: https://linuxeye.com/Linux/2725.html |