我正在努力SPICE 代理正常工作KVM 虚拟机这样我就可以共享文件夹或将文件从主机复制粘贴到虚拟机。当我尝试启用它时,我收到此错误,尽管我也在主机上安装了 spice-agent。
Error starting domain, internal error
QEMU: host doesn’t support expected feature (MSR-490h)
Error starting domain: internal error: qemu unexpectedly closed the monitor: 2022-03-04T06:58:42.186263Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13]
2022-03-04T06:58:42.186761Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48FH).vmx-exit-load-perf-global-ctrl [bit 12]
2022-03-04T06:58:42.186769Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13]
2022-03-04T06:58:42.187275Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48FH).vmx-exit-load-perf-global-ctrl [bit 12]
2022-03-04T06:58:42.187282Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13]
2022-03-04T06:58:42.225769Z qemu-system-x86_64: -device virtio-9p-pci,id=fs0,fsdev=fsdev-fs0,mount_tag=/sharepoint,bus=pci.7,addr=0x0: cannot initialize fsdev 'fsdev-fs0': failed to open '/home/a/share': Permission denied
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/lib/python3/dist-packages/libvirt.py", line 1234, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: 2022-03-04T06:58:42.186263Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13]
2022-03-04T06:58:42.186761Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48FH).vmx-exit-load-perf-global-ctrl [bit 12]
2022-03-04T06:58:42.186769Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13]
2022-03-04T06:58:42.187275Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48FH).vmx-exit-load-perf-global-ctrl [bit 12]
2022-03-04T06:58:42.187282Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13]
2022-03-04T06:58:42.225769Z qemu-system-x86_64: -device virtio-9p-pci,id=fs0,fsdev=fsdev-fs0,mount_tag=/sharepoint,bus=pci.7,addr=0x0: cannot initialize fsdev 'fsdev-fs0': failed to open '/home/a/share': Permission denied
答案1
我认为错误消息的相关部分是这样的:failed to open '/home/a/share': Permission denied
检查该目录是否存在以及是否允许 qemu 访问。