Description of problem: 在海光服务器上开启SEV功能后,Anolis OS 8.6系统5.10内核做为gusetOS配置virito网卡后,guest os系统启动激活vritio网卡时系统出现hang现象。 Version-Release number of selected component (if applicable): 虚拟机Anolis OS 8.6系统安装5.10.134-13.1.an8.x86_64内核 How reproducible: 1)主机环境。主机硬件搭载海光Hygon C86 7280CPU型号的服务器,安装Anolis OS 8.6并安装5.10.134-14.an8.x86_64版本的内核。 2)虚拟机环境。guest os安装anos 8.6 并安装5.10.134-13.1.an8.x86_64内核。 Steps to Reproduce: 1.按照上面1)安装主机环境。 2.在主机环境上的grub里配置“mem_encrypt=on kvm_amd.sev=1"内核参数。 3.重启主机系统。 4.在guest os 的xml配置文件里配置virtio网卡设备具体配置如下: <interface type='bridge'> <mac address='52:54:00:cc:56:90'/> <source bridge='br1'/> <model type='virtio'/> <driver iommu='on'/> <rom enabled='no'/> </interface> Actual results: 虚拟机系统启动时候出现hang现象,NetworkManger服务启动挂住,网卡激活失败。 Expected results: 虚拟机系统应当正常启动,NetworkManger正常启动,网卡正常激活。
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2811