/ 详情

【openEuler 21.03】【虚拟化】5.10.0-4.0.0内核未合入cpu_custom相关补丁

Done
Bug
Opened this issue  
2021-03-05 09:47

【标题描述】5.10.0-4.0.0内核未合入cpu_custom相关补丁,导致该特性失效
【环境信息】
硬件信息:
1) 裸机场景提供出问题的硬件信息;
2) 虚机场景提供虚机XML文件或者配置信息

/usr/libexec/qemu-kvm \
    -S  \
    -name 'avocado-vt-vm1' \
    -drive file=/usr/share/edk2/aarch64/QEMU_EFI-pflash.raw,if=pflash,format=raw,unit=0,readonly=on \
    -drive file=/var/lib/avocado/data/avocado-vt/images/f28-aarch64_AAVMF_VARS.fd,if=pflash,format=raw,unit=1 \
    -machine virt,gic-version=3 \
    -device pcie-root-port,id=pcie-root-port-0,multifunction=on,bus=pcie.0,addr=0x1,chassis=1 \
    -device pcie-pci-bridge,id=pcie-pci-bridge-0,addr=0x0,bus=pcie-root-port-0  \
    -nodefaults \
    -device pcie-root-port,id=pcie-root-port-1,port=0x1,addr=0x1.0x1,bus=pcie.0,chassis=2 \
    -device virtio-gpu-pci,bus=pcie-root-port-1,addr=0x0 \
    -m 1024  \
    -smp 2,maxcpus=2,cores=1,threads=1,sockets=2  \
    -cpu 'Kunpeng-920',asimdrdm=off \
    -chardev socket,server,path=/var/tmp/avocado__p68f3jt/monitor-qmpmonitor1-20210303-152653-EKkzwnX0,nowait,id=qmp_id_qmpmonitor1  \
    -mon chardev=qmp_id_qmpmonitor1,mode=control \
    -chardev socket,server,path=/var/tmp/avocado__p68f3jt/monitor-catch_monitor-20210303-152653-EKkzwnX0,nowait,id=qmp_id_catch_monitor  \
    -mon chardev=qmp_id_catch_monitor,mode=control  \
    -serial unix:'/var/tmp/avocado__p68f3jt/serial-serial0-20210303-152653-EKkzwnX0',server,nowait \
    -device pcie-root-port,id=pcie-root-port-2,port=0x2,addr=0x1.0x2,bus=pcie.0,chassis=3 \
    -device qemu-xhci,id=usb1,bus=pcie-root-port-2,addr=0x0 \
    -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \
    -device usb-kbd,id=usb-kbd1,bus=usb1.0,port=2 \
    -device pcie-root-port,id=pcie-root-port-3,port=0x3,addr=0x1.0x3,bus=pcie.0,chassis=4 \
    -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pcie-root-port-3,addr=0x0 \
    -blockdev node-name=file_image1,driver=file,filename=/var/lib/avocado/data/avocado-vt/images/f28-aarch64.qcow2 \
    -blockdev node-name=drive_image1,driver=qcow2,file=file_image1 \
    -device scsi-hd,id=image1,drive=drive_image1,bootindex=0 \
    -device pcie-root-port,id=pcie-root-port-4,port=0x4,addr=0x1.0x4,bus=pcie.0,chassis=5 \
    -device virtio-net-pci,mac=9a:a8:f2:08:dc:45,rombar=1,id=idGkOs5y,netdev=idJsG6xq,bus=pcie-root-port-4,addr=0x0  \
    -netdev tap,id=idJsG6xq,fd=26  \
    -vnc :0  \
    -rtc base=utc,clock=host \
    -enable-kvm \
    -device pcie-root-port,id=pcie_extra_root_port_0,multifunction=on,bus=pcie.0,addr=0x2,chassis=6 \
    -device pcie-root-port,id=pcie_extra_root_port_1,addr=0x2.0x1,bus=pcie.0,chassis=7

软件信息:
1) OS版本及分支
openEuler-21.03-RC1
2) 内核信息
Linux localhost.localdomain 5.10.0-4.0.0.13.oe1.aarch64 #1 SMP Tue Feb 23 09:25:10 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
3) 发现问题的组件版本信息
如果有特殊组网,请提供网络拓扑图
【问题复现步骤】
通过xml文件或者qemu命令行启动虚拟机
虚拟机会默认带有cpu_custom特性的能力
出现概率(必现)
【预期结果】
虚拟机开启cpu_custom特性后应在虚拟机内部呈现相应的CPU属性
【实际结果】
虚拟机开启cpu_custom特性后未在虚拟机内部呈现相应的CPU属性
【附件信息】
比如系统message日志/组件日志、dump信息、图片等
输入图片说明

Attachments

Comments (1)

zhk created缺陷
zhk set related repository to openEuler/kernel
展开全部操作日志

Hey zhk128, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot .
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

zhk changed description
zhk changed issue state from 待办的 to 已完成

Sign in to comment

状态
Assignees
Labels
Projects
Milestones
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
5329419 openeuler ci bot 1578984659