我已经使用 virt-manager 创建了两个虚拟机,现在当我尝试创建新虚拟机时,我收到消息“主机不支持任何虚拟化选项”。我之前成功运行的前两个虚拟机也拒绝开始向我提供消息,而是在图像中
细节
Error starting domain: internal error: Failed to start QEMU binary /usr/libexec/qemu-kvm for probing: qemu-kvm: cannot initialize crypto: Unable to initialize gcrypt
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 66, in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1279, in startup
self._backend.create()
File "/usr/lib64/python3.6/site-packages/libvirt.py", line 1234, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirt.libvirtError: internal error: Failed to start QEMU binary /usr/libexec/qemu-kvm for probing: qemu-kvm: cannot initialize crypto: Unable to initialize gcrypt
编辑
解决方案
请参阅此链接进行修复,感谢@jsbillings 的解决方案
https://bugzilla.redhat.com/show_bug.cgi?id=1840485
我的 qemu-kvm 版本是 qemu-kvm-4.2.0-34 并具有 libgcrypt-1.8.3-4,将 libgcrypt 更新到 libgcrypt-1.8.5-4 后修复了此问题