libvirt 和 virt-manager - 无法完成安装:“内部错误:不支持的 USB 输入总线”

libvirt 和 virt-manager - 无法完成安装:“内部错误:不支持的 USB 输入总线”

我按照以下步骤创建一个使用 Xen 作为虚拟机管理程序并使用 virt-manager (libvirt) 作为管理模块的虚拟机。当尝试创建虚拟机时,我收到以下错误:

无法完成安装:“内部错误:不支持的 USB 输入总线”

错误详情:

Unable to complete install: 'internal error: unsupported input bus usb'

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/create.py", line 2276, in _do_async_install
    guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 461, in start_install
    doboot, transient)
  File "/usr/share/virt-manager/virtinst/guest.py", line 397, in _create_guest
    domain = self.conn.createXML(install_xml or final_xml, 0)
  File "/usr/lib/python3.7/site-packages/libvirt.py", line 3717, in createXML
    if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirt.libvirtError: internal error: unsupported input bus usb

注一:部署过程遵循此处的说明https://www.youtube.com/watch?v=BwkmDM-Gpzc和这里https://wiki.centos.org/HowTos/Xen/Xen4QuickStart
注二:Xen Hypervisor 使用 CentOS 7 作为“domu”。


脚步:

在此输入图像描述

在此输入图像描述

在此输入图像描述

在此输入图像描述

答案1

我更新了版本,问题就不再出现了!

以下是 Cole Robinson 在“libvirt-users”邮件列表上回复我的内容([电子邮件受保护]):

Coincidentally this a bug I fixed just this morning:

commit b1eb07c26aae1b303cd9893427f46f5b693544b3 (HEAD -> master, 
origin/master, origin/HEAD)
Author: Cole Robinson <[email protected]>
Date:   Wed Aug 22 08:38:33 2018 -0400

     guest: Don't add usb tablet for xen PV

     xen PV doesn't have USB support


But you can work around it: at the end of the 'new vm' wizard, click 
'customize before install', and in the VM details window, remove the 
tablet device, then finish the install. That should make things work

谢谢你! =D

笔记: https://github.com/virt-manager/virt-manager/blob/master/INSTALL.md

相关内容