Projects
Eulaceura:Factory
vdsm
_service:obs_scm:0001-add-aarch64-cpu-value.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0001-add-aarch64-cpu-value.patch of Package vdsm
From 19da779d059b5595644c7e7145f8475a83c0b29c Mon Sep 17 00:00:00 2001 From: wangge <wangge20@huawei.com> Date: Sat, 9 Oct 2021 10:33:48 +0800 Subject: [PATCH] add aarch64 cpu value --- lib/vdsm/cpuinfo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vdsm/cpuinfo.py b/lib/vdsm/cpuinfo.py index b24d906..2f9d889 100644 --- a/lib/vdsm/cpuinfo.py +++ b/lib/vdsm/cpuinfo.py @@ -87,6 +87,7 @@ def _cpuinfo(): elif key == 'model name': # x86_64 fields['model'] = value elif key == 'CPU part': # aarch64 + value = "asimd" if value == "0xd01" else value fields['model'] = value elif re.match(r'processor \d+', key): # s390 match = re.search(r'\bmachine\s*=\s*(\w+)', value) -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2