Skip to content

Commit 87b792e

Browse files
committed
ui,server: add s390x architecture selection
Based on changes from apache#10289 s390x support was added paritally with apache#10038 Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 99bc651 commit 87b792e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

api/src/main/java/com/cloud/cpu/CPU.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ public class CPU {
2222
public enum CPUArch {
2323
x86("i686", 32),
2424
amd64("x86_64", 64),
25-
arm64("aarch64", 64);
25+
arm64("aarch64", 64),
26+
s390x("s390x", 64);
2627

2728
private final String type;
2829
private final int bits;

ui/src/utils/plugins.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ export const cpuArchitectureUtilPlugin = {
530530
const architectures = [
531531
{ id: 'x86_64', name: 'AMD 64 bits (x86_64)' },
532532
{ id: 'aarch64', name: 'ARM 64 bits (aarch64)' }
533+
{ id: 's390x', name: 'z/Architecture 64 bits (s390x)' }
533534
]
534535
return architectures.map(item => ({ ...item, description: item.name }))
535536
}

0 commit comments

Comments
 (0)