![如何在 ubuntu 20.04 上的 virt-manager 中禁用 msr?](https://linux22.com/image/1019390/%E5%A6%82%E4%BD%95%E5%9C%A8%20ubuntu%2020.04%20%E4%B8%8A%E7%9A%84%20virt-manager%20%E4%B8%AD%E7%A6%81%E7%94%A8%20msr%EF%BC%9F.png)
我正在尝试通过以太网适配器,我启用了 immmou,当我启动虚拟机时,它给了我这个
`Error starting domain: internal error: qemu unexpectedly closed the monitor: 2020-08-18T07:34:45.401121Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48FH).vmx-exit-load-perf-global-ctrl [bit 12]
2020-08-18T07:34:45.401272Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13]
2020-08-18T07:34:45.404086Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48FH).vmx-exit-load-perf-global-ctrl [bit 12]
2020-08-18T07:34:45.404171Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13]
2020-08-18T07:34:45.476073Z qemu-system-x86_64: -device vfio-pci,host=0000:00:19.0,id=hostdev0,bus=pci.0,addr=0x7,rombar=0: vfio 0000:00:19.0: failed to setup container for group 2: Failed to set iommu for container: Operation not permitted
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: 2020-08-18T07:34:45.401121Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48FH).vmx-exit-load-perf-global-ctrl [bit 12]
2020-08-18T07:34:45.401272Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13]
2020-08-18T07:34:45.404086Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48FH).vmx-exit-load-perf-global-ctrl [bit 12]
2020-08-18T07:34:45.404171Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13]
2020-08-18T07:34:45.476073Z qemu-system-x86_64: -device vfio-pci,host=0000:00:19.0,id=hostdev0,bus=pci.0,addr=0x7,rombar=0: vfio 0000:00:19.0: failed to setup container for group 2: Failed to set iommu for container: Operation not permitted