mcst-linux-kernel/patches-2024.06.26/virt-manager-4.1.0/0001-Add-basic-e2k-support....

25 lines
849 B
Diff

--- a/virtManager/createvm.py 2024-02-28 20:46:40.122751921 +0300
+++ b/virtManager/createvm.py 2024-02-28 20:51:15.582518100 +0300
@@ -476,7 +476,8 @@
installable_arch = bool(guest.os.is_x86() or
guest.os.is_ppc64() or
- guest.os.is_s390x())
+ guest.os.is_s390x() or
+ guest.os.is_e2k())
default_efi = (
self.config.get_default_firmware_setting() == "uefi" and
--- a/virtinst/domain/os.py 2024-02-28 20:47:25.014713814 +0300
+++ b/virtinst/domain/os.py 2024-02-28 20:52:39.554446823 +0300
@@ -73,6 +73,9 @@
def is_s390x(self):
return self.arch == "s390x"
+ def is_e2k(self):
+ return self.arch == "e2k"
+
def is_riscv(self):
return self.arch == "riscv64" or self.arch == "riscv32"
def is_riscv_virt(self):