From 0afe0c094f9530faf6915c8dddac8d772c9e43f6 Mon Sep 17 00:00:00 2001 From: Nir Soffer Date: Sat, 17 Feb 2024 01:30:36 +0200 Subject: [PATCH] kvm2 driver: Use scsi cdrom for arm64 On linux/aarch64 (e.g. Asahi Linux on MacBook M*) booting from SATA cdrom is broken and the VM drops into the UEFI shell. It seems that linux/aarch64 supports only virtio and scsi devices[1]. Replace with scsi cdrom (like the x86 version) and addd a virtio-scsi controller since the default scsi controller does not boot as well. [1] https://kubevirt.io/user-guide/virtual_machines/virtual_machines_on_Arm64/#disks-and-volumes Fixes #18238 --- pkg/drivers/kvm/domain_definition_arm64.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/drivers/kvm/domain_definition_arm64.go b/pkg/drivers/kvm/domain_definition_arm64.go index 85082457f712..986e773433a5 100644 --- a/pkg/drivers/kvm/domain_definition_arm64.go +++ b/pkg/drivers/kvm/domain_definition_arm64.go @@ -49,7 +49,7 @@ const domainTmpl = ` - + @@ -57,6 +57,8 @@ const domainTmpl = ` + +