【问题标题】:KVM - Drive 'qed' is not whitelistedKVM - 驱动器“qed”未列入白名单
【发布时间】:2016-08-18 11:07:30
【问题描述】:

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

我从 server_1 复制了 2 个克隆的虚拟机(我现在无法关闭正在运行的虚拟机)并将它们移动到 server_2。

在 server_2 上使用 gui 界面我选择 Import existing disk image > Storage path: /home/vmpools/example.img, OS type: Linux, Version: CentOS 7.0 > RAM: 1024, CPU's 1 > Name: example and leave其余默认

完成后我收到以下错误:

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 创建新的虚拟机。

我将如何将 qed 列入白名单,或者我缺少什么来完成这项工作?

【问题讨论】:

    标签: centos7 kvm


    【解决方案1】:

    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

    qemu-kvm 组件,BZ#731570 Red Hat Enterprise Linux 7 不支持 KVM 来宾虚拟机的 QEMU 增强磁盘格式 (QED)。使用 qcow2 映像 格式。

    【讨论】:

      猜你喜欢
      • 2018-12-24
      • 2019-09-18
      • 2013-09-21
      • 2018-02-18
      • 2013-05-13
      • 2020-02-12
      • 2021-12-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多