我尝试在 Qemu virt-manager 中删除 spice,但一直出现
Error Removing Device: unsupported configuration: Spice audio is not supported without spice graphics
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/delete.py", line 338, in remove_devobj_internal
vm.remove_device(devobj)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 641, in remove_device
self._redefine_xmlobj(xmlobj)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 391, in _redefine_xmlobj
self._redefine_xml_internal(origxml, newxml)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 374, in _redefine_xml_internal
self._define(newxml)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1137, in _define
self.conn.define_domain(xml)
File "/usr/share/virt-manager/virtManager/connection.py", line 554, in define_domain
return self._backend.defineXML(xml)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/site-packages/libvirt.py", line 4495, in defineXML
if ret is None:
^^^^^^^^^^^^
libvirt.libvirtError: unsupported configuration: Spice audio is not supported without spice graphics
尽管我现在没有使用 Spice Graphics。经过所有测试,我似乎无法在显示选项卡中使用 Spice 以外的任何东西。示例配置:
<graphics type="spice">
<listen type="none"/>
<image compression="off"/>
</graphics>
如果您知道这是错误的,我很想知道,因为在尝试进行单 GPU 直通时,这种情况已经持续了数周。这是我遵循的一些指南,我在 Fedora(37) 上使用 nvidia
https://github.com/mike11207/single-gpu-passthrough-amd-gpu
https://github.com/joeknock90/Single-GPU-Passthrough
https://github.com/ilayna/Single-GPU-passthrough-amd-nvidia
https://www.youtube.com/watch?v=eTWf5D092VY 提前感谢所有的帮助。
更新:我尝试使用 VNC 而不是 spice 进行安装,但它只是永远加载。