!19 [sync] PR-17: Add aarch64 architecture support
Merge pull request !19 from openeuler-sync-bot/sync-pr17-openEuler-20.03-LTS-SP1-to-openEuler-20.03-LTS-SP3
This commit is contained in:
commit
aef506c27f
24
0003-add-aarch64-architecture-support.patch
Normal file
24
0003-add-aarch64-architecture-support.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From 65d18050391082503200f222f2312d9ca705ddae Mon Sep 17 00:00:00 2001
|
||||
From: wang--ge <wang__ge@126.com>
|
||||
Date: Tue, 16 Nov 2021 10:04:22 +0800
|
||||
Subject: [PATCH] add aarch64 architecture support
|
||||
|
||||
---
|
||||
lib/vdsm/virt/libvirtxml.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/lib/vdsm/virt/libvirtxml.py b/lib/vdsm/virt/libvirtxml.py
|
||||
index 51e59be..f4c1d5d 100644
|
||||
--- a/lib/vdsm/virt/libvirtxml.py
|
||||
+++ b/lib/vdsm/virt/libvirtxml.py
|
||||
@@ -33,6 +33,7 @@ _DEFAULT_MACHINES = {
|
||||
cpuarch.PPC64: 'pseries',
|
||||
cpuarch.PPC64LE: 'pseries',
|
||||
cpuarch.S390X: 's390-ccw-virtio',
|
||||
+ cpuarch.AARCH64: 'virt',
|
||||
}
|
||||
|
||||
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -50,7 +50,7 @@
|
||||
|
||||
Name: %{vdsm_name}
|
||||
Version: 4.40.60.7
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: Virtual Desktop Server Manager
|
||||
|
||||
Group: Applications/System
|
||||
@ -59,6 +59,7 @@ Url: http://www.ovirt.org/develop/developer-guide/vdsm/vdsm/
|
||||
Source0: %{vdsm_name}-%{version}.tar.gz
|
||||
Patch1: 0001-add-aarch64-cpu-value.patch
|
||||
Patch2: 0002-add-get-uuid-method-for-arm.patch
|
||||
Patch3: 0003-add-aarch64-architecture-support.patch
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
|
||||
BuildRequires: openssl
|
||||
@ -577,6 +578,7 @@ Gluster plugin enables VDSM to serve Gluster functionalities.
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
sed -i 's/1048576/524288/g' static/usr/lib/systemd/system/dev-hugepages1G.mount
|
||||
sed -i 's/pagesize=1G/pagesize=512M/g' static/usr/lib/systemd/system/dev-hugepages1G.mount
|
||||
|
||||
@ -1119,6 +1121,9 @@ exit 0
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Nov 16 2021 Ge Wang <wangge20@huawei.com> - 4.40.60.7-4
|
||||
- Add aarch64 architecture support
|
||||
|
||||
* Wed Oct 13 2021 Ge Wang <wangge20@huawei.com> - 4.40.60.7-3
|
||||
- Add get uuid method for arm
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user