kvm 安装错误

kvm 安装错误

安装 kvm 后,我无法加载客户操作系统,它显示以下错误

无法完成安装:'内部错误,读取控制台日志输出时进程退出:chardev:打开后端“pty”失败

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1622, in do_install
    guest.start_install(False, meter=meter)
  File "/usr/lib/pymodules/python2.7/virtinst/Guest.py", line 1193, in start_install
    start_xml, final_xml, is_initial)
  File "/usr/lib/pymodules/python2.7/virtinst/Guest.py", line 1252, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1346, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error Process exited while reading console log output: chardev: opening backend "pty" failed

答案1

检查你的日志中是否有 apparmor 拒绝行,可能是它不允许打开 pty。请参阅https://bugs.launchpad.net/ubuntu/maverick/+source/libvirt/+bug/632696

相关内容