!21 [sync] PR-19: modify patch file incorrect
From: @openeuler-sync-bot Reviewed-by: @jxy_git Signed-off-by: @jxy_git
This commit is contained in:
commit
5295d3c4eb
@ -1,4 +1,4 @@
|
|||||||
From 6d1e16a3edfc0a1bb5409627779158350dc4a599 Mon Sep 17 00:00:00 2001
|
From 9207593a65307102e39129ed82fc7df0dbfe178d Mon Sep 17 00:00:00 2001
|
||||||
From: yangchenguang <yangchenguang@kylinsec.com.cn>
|
From: yangchenguang <yangchenguang@kylinsec.com.cn>
|
||||||
Date: Thu, 13 Apr 2023 10:07:44 +0800
|
Date: Thu, 13 Apr 2023 10:07:44 +0800
|
||||||
Subject: [PATCH] Add loongarch support
|
Subject: [PATCH] Add loongarch support
|
||||||
@ -10,26 +10,26 @@ Signed-off-by: yangchenguang <yangchenguang@kylinsec.com.cn>
|
|||||||
2 files changed, 3 insertions(+)
|
2 files changed, 3 insertions(+)
|
||||||
|
|
||||||
diff --git a/virtManager/create.py b/virtManager/create.py
|
diff --git a/virtManager/create.py b/virtManager/create.py
|
||||||
index e7ddd0c..2c72b5b 100644
|
index e7ddd0c..dcc70bb 100644
|
||||||
--- a/virtManager/create.py
|
--- a/virtManager/create.py
|
||||||
+++ b/virtManager/create.py
|
+++ b/virtManager/create.py
|
||||||
@@ -428,6 +428,7 @@ class vmmCreate(vmmGObjectUI):
|
@@ -428,6 +428,7 @@ class vmmCreate(vmmGObjectUI):
|
||||||
installable_arch = bool(guest.os.is_x86() or
|
installable_arch = bool(guest.os.is_x86() or
|
||||||
guest.os.is_ppc64() or
|
guest.os.is_ppc64() or
|
||||||
guest.os.is_sw_64() or
|
guest.os.is_sw_64() or
|
||||||
+ guest.os.is_loongarch() or
|
+ guest.os.is_loongarch64() or
|
||||||
guest.os.is_s390x())
|
guest.os.is_s390x())
|
||||||
|
|
||||||
if guest.prefers_uefi():
|
if guest.prefers_uefi():
|
||||||
diff --git a/virtinst/domain/os.py b/virtinst/domain/os.py
|
diff --git a/virtinst/domain/os.py b/virtinst/domain/os.py
|
||||||
index fdcaa19..95427f2 100644
|
index fdcaa19..5e16887 100644
|
||||||
--- a/virtinst/domain/os.py
|
--- a/virtinst/domain/os.py
|
||||||
+++ b/virtinst/domain/os.py
|
+++ b/virtinst/domain/os.py
|
||||||
@@ -48,6 +48,8 @@ class DomainOs(XMLBuilder):
|
@@ -48,6 +48,8 @@ class DomainOs(XMLBuilder):
|
||||||
return self.arch == "aarch64"
|
return self.arch == "aarch64"
|
||||||
def is_sw_64(self):
|
def is_sw_64(self):
|
||||||
return self.arch == "sw_64"
|
return self.arch == "sw_64"
|
||||||
+ def is_sw_64(self):
|
+ def is_loongarch64(self):
|
||||||
+ return self.arch == "loongarch64"
|
+ return self.arch == "loongarch64"
|
||||||
def is_arm(self):
|
def is_arm(self):
|
||||||
return self.is_arm32() or self.is_arm64()
|
return self.is_arm32() or self.is_arm64()
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
%global __python %{__python3}
|
%global __python %{__python3}
|
||||||
Name: virt-manager
|
Name: virt-manager
|
||||||
Version: 2.1.0
|
Version: 2.1.0
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: The manage virtual machines tool which via libvirt.
|
Summary: The manage virtual machines tool which via libvirt.
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -83,6 +83,9 @@ done
|
|||||||
%{_mandir}/man1/{virt-install.1*,virt-clone.1*,virt-convert.1*,virt-xml.1*}
|
%{_mandir}/man1/{virt-install.1*,virt-clone.1*,virt-convert.1*,virt-xml.1*}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 13 2023 yangchenguang <yangchenguang@kylinsec.com.cn> - 2.1.0-8
|
||||||
|
- Modify patch file incorrect
|
||||||
|
|
||||||
* Thu Apr 13 2023 yangchenguang <yangchenguang@kylinsec.com.cn> - 2.1.0-7
|
* Thu Apr 13 2023 yangchenguang <yangchenguang@kylinsec.com.cn> - 2.1.0-7
|
||||||
- Add loongarch64 architecture
|
- Add loongarch64 architecture
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user