diff --git a/0003-add-aarch64-architecture-support.patch b/0003-add-aarch64-architecture-support.patch new file mode 100644 index 0000000..d84537a --- /dev/null +++ b/0003-add-aarch64-architecture-support.patch @@ -0,0 +1,24 @@ +From 65d18050391082503200f222f2312d9ca705ddae Mon Sep 17 00:00:00 2001 +From: wang--ge +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 + diff --git a/vdsm.spec b/vdsm.spec index f043e04..6ff1394 100644 --- a/vdsm.spec +++ b/vdsm.spec @@ -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 - 4.40.60.7-4 +- Add aarch64 architecture support + * Wed Oct 13 2021 Ge Wang - 4.40.60.7-3 - Add get uuid method for arm