centos7 qemu-kvm 用cdrom来安装系统报错

su:

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

Marc-Andre Lureau 2014-03-04 16:42:05 EST

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://my.oschina.net/mingyuejingque/blog/480263

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值