Skip to content

Commit

Permalink
Merge pull request #18239 from nirs/aarch64-cdrom
Browse files Browse the repository at this point in the history
kvm2 driver: Use scsi cdrom for arm64 to fix Linux on Apple Silicone
  • Loading branch information
medyagh authored Mar 8, 2024
2 parents 6ad5b4a + 59a59c8 commit 8000ca5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/drivers/kvm/domain_definition_arm64.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,16 @@ const domainTmpl = `
<devices>
<disk type='file' device='cdrom'>
<source file='{{.ISO}}'/>
<target dev='sdc' bus='sata'/>
<target dev='sdc' bus='scsi'/>
<readonly/>
</disk>
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='default' io='threads' />
<source file='{{.DiskPath}}'/>
<target dev='hda' bus='virtio'/>
</disk>
<controller type='scsi' index='0' model='virtio-scsi'>
</controller>
<interface type='network'>
<source network='{{.PrivateNetwork}}'/>
<model type='virtio'/>
Expand Down

0 comments on commit 8000ca5

Please sign in to comment.