Bug 8424 - Anolis OS 8.6系统安装ANCK 5.10内核作为guest os在开启sev特性后系统启动出现hang现象。
Summary: Anolis OS 8.6系统安装ANCK 5.10内核作为guest os在开启sev特性后系统启动出现hang现象。
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: virt (show other bugs) virt
Version: unspecified
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: maqiao
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-02 11:24 UTC by gcc_2023
Modified: 2024-03-04 15:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gcc_2023 2024-03-02 11:24:29 UTC
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正常启动,网卡正常激活。
Comment 1 小龙 admin 2024-03-04 15:04:19 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2811