Virtual-Machine

libvirt 和 virt-manager - 無法完成安裝:“內部錯誤:不支持的輸入匯流排 usb”

  • August 23, 2018

我按照以下步驟使用 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

**注意 I:**部署過程遵循此處https://www.youtube.com/watch?v=BwkmDM-Gpzc>和此處<https://wiki.centos.org/HowTos/Xen/Xen4QuickStart的說明。

註二: Xen Hypervisor 使用 CentOS 7 作為“domu”。


腳步:

在此處輸入圖像描述

在此處輸入圖像描述

在此處輸入圖像描述

在此處輸入圖像描述

我更新了我的版本,問題不再出現!

以下是 Cole Robinson 在“libvirt-users”郵件列表 (libvirt-users@redhat.com) 上回复我的內容:

Coincidentally this a bug I fixed just this morning:

commit b1eb07c26aae1b303cd9893427f46f5b693544b3 (HEAD -&gt; master, 
origin/master, origin/HEAD)
Author: Cole Robinson &lt;crobinso@redhat.com&gt;
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

引用自:https://unix.stackexchange.com/questions/464186