Skip to content

Commit 00962c6

Browse files
committed
Used existing isGuestS390x method.
1 parent 0aa422f commit 00962c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2762,7 +2762,7 @@ protected FeaturesDef createFeaturesDef(Map<String, String> customParams, boolea
27622762
FeaturesDef features = new FeaturesDef();
27632763
features.addFeatures(PAE);
27642764
features.addFeatures(APIC);
2765-
if (!"s390x".equals(System.getProperty("os.arch"))) {
2765+
if (!isGuestS390x()) {
27662766
features.addFeatures(ACPI);
27672767
}
27682768
if (isUefiEnabled && isSecureBoot) {

0 commit comments

Comments
 (0)