KVM - Drive' qed'未列入白名单

时间:2016-08-18 11:07:30

标签: centos7 kvm

好的我有2台KVM服务器:server_1和server_2。 server_1正在生产中,无法与server_2通信,server_2正在我的测试环境中为生产做好准备。

从server_1我有2个克隆的VM副本(我现在无法关闭正在运行的VM)并将它们移动到server_2。

在使用gui界面的server_2上,我选择Import existing disk image>存储路径:/home/vmpools/example.img,OS类型:Linux,版本:CentOS 7.0> RAM:1024,CPU&1;>姓名:示例并保留其余默认值

完成后,我收到以下错误:

Unable to complete install: 'internal error: process exited while connecting to monitor: 2016-08-18T09:29:23.423006Z qemu-kvm: -drive file=/home/vmpools/SureCollectGateway.img,if=none,id=drive-virtio-disk0,format=qed: could not open disk image /home/vmpools/SureCollectGateway.img: Driver 'qed' is not whitelisted
'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 90, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 2277, in _do_async_install
    guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 501, in start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/guest.py", line 416, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3606, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error: process exited while connecting to monitor: 2016-08-18T09:29:23.423006Z qemu-kvm: -drive file=/home/vmpools/SureCollectGateway.img,if=none,id=drive-virtio-disk0,format=qed: could not open disk image /home/vmpools/SureCollectGateway.img: Driver 'qed' is not whitelisted

但是我可以用ISO创建新的VM。

我如何处理白色列表qed或我缺少什么才能使这项工作?

1 个答案:

答案 0 :(得分:0)

CentOS不支持qed磁盘格式,请改用qcow2

  1. https://bugs.centos.org/view.php?id=8986
  2. https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/7.0_Release_Notes/Known-Issues-Virtualization.html
  3.   

    qemu-kvm组件,BZ#731570       红帽企业版Linux 7不支持KVM来宾虚拟机的QEMU增强磁盘格式(QED)。使用qcow2映像   而是格式化。