Skip to content

Commit db6dd52

Browse files
kvm: fix ide controller for rocky/alma vms (#8247)
1 parent 4c91cc7 commit db6dd52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3979,7 +3979,8 @@ private DiskDef.DiskBus getGuestDiskModel(final String platformEmulator, boolean
39793979
return DiskDef.DiskBus.SCSI;
39803980
} else if (platformEmulator.contains("Ubuntu") ||
39813981
StringUtils.startsWithAny(platformEmulator,
3982-
"Fedora", "CentOS", "Red Hat Enterprise Linux", "Debian GNU/Linux", "FreeBSD", "Oracle", "Other PV")) {
3982+
"Fedora", "CentOS", "Red Hat Enterprise Linux", "Debian GNU/Linux", "FreeBSD", "Oracle",
3983+
"Rocky Linux", "AlmaLinux", "Other PV")) {
39833984
return DiskDef.DiskBus.VIRTIO;
39843985
} else if (isUefiEnabled && StringUtils.startsWithAny(platformEmulator, "Windows", "Other")) {
39853986
return DiskDef.DiskBus.SATA;

0 commit comments

Comments
 (0)