Skip to content

Commit

Permalink
kvm: fix vm deployment on as390
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Mar 10, 2025
1 parent 21b08b7 commit 89ca375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kvirt/providers/kvm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ def create(self, name, virttype=None, profile='kvirt', flavor=None, plan='kvirt'
else:
ramxml += "<firmware><feature enabled='no' name='secure-boot'/></firmware>"
arch = 'aarch64' if aarch64 else overrides.get('arch', 'x86_64')
if not aarch64 or sriov_nic:
if not (aarch64 and not as390x) or sriov_nic:
acpixml = '<acpi/>\n<apic/>'
elif aarch64_full:
acpixml = "<acpi/><gic version='3'/>"
Expand Down

0 comments on commit 89ca375

Please sign in to comment.