环境:Centos8.1 服务器:Dell PowerEdge R740
近日在centos8.1上安装QEMU/KVM相关服务,所有的虚拟化配置都正确,然后通过virt-manager安装虚拟机的时候发生了如下的错误:
Unable to complete install: 'internal error: qemu unexpectedly closed the monitor: 2020-09-03T02:47:32.742431Z qemu-kvm: error: failed to set MSR 0x48e to 0xfff9fffe04006172 qemu-kvm: /builddir/build/BUILD/qemu-2.12.0/target/i386/kvm.c:2119: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.' 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/createvm.py", line 2089, in _do_async_install guest.installer_instance.start_install(guest, meter=meter) File "/usr/share/virt-manager/virtinst/install/installer.py", line 544, in start_install doboot, transient) File "/usr/share/virt-manager/virtinst/install/installer.py", line 491, in _create_guest domain = self.conn.createXML(install_xml or final_xml, 0) File "/usr/lib64/python3.6/site-packages/libvirt.py", line 3725, in createXML if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: 2020-09-03T02:47:32.742431Z qemu-kvm: error: failed to set MSR 0x48e to 0xfff9fffe04006172 qemu-kvm: /builddir/build/BUILD/qemu-2.12.0/target/i386/kvm.c:2119: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.然后最后放弃使用QEMU/KVM,使用VirtualBox解决了问题,顺利装上了虚拟机,参考我的另外一篇博客:centos8使用virtualbox安装虚拟机
最后,有时间还是要把相关硬件日志提交给服务器的售后技术支持,请他们帮忙看看。