kiranchavala commented on issue #12090: URL: https://github.com/apache/cloudstack/issues/12090#issuecomment-3685607332
Thanks @gw769 cc @DaanHoogland @vishesh92 Able to reproduce the issue even on a KVM amd64 host 1. Enable UEFI mode on the kvm host 2. Create a vm with 5 data disks with dataDiskController as SCSI and rootDiskController as osdefault <img width="1622" height="474" alt="Image" src="https://github.com/user-attachments/assets/04bdff9d-ecfe-4bb6-8c06-c2d096ddf82a" /> <img width="1623" height="541" alt="Image" src="https://github.com/user-attachments/assets/88af4277-3402-42fd-8ebf-96df9a1d36d2" /> 3. Start the vm Check the dumpxml on the kvm host ``` <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/mnt/69c0c442-1b98-3f15-a62d-b371ae1ae4f6/8d2f700c-1483-493b-a4c7-522b3554aaae' index='6'/> <backingStore/> <target dev='sdb' bus='scsi'/> <serial>8d2f700c1483493ba4c7</serial> <alias name='scsi0-0-1'/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/mnt/69c0c442-1b98-3f15-a62d-b371ae1ae4f6/97f81648-7abc-4a22-800c-1675b1ef3eec' index='5'/> <backingStore/> <target dev='sdc' bus='scsi'/> <serial>97f816487abc4a22800c</serial> <alias name='scsi0-0-2'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/mnt/69c0c442-1b98-3f15-a62d-b371ae1ae4f6/dd061ab2-ab6d-4d2a-93f4-f368e9c2c62e' index='4'/> <backingStore/> <target dev='sde' bus='scsi'/> <serial>dd061ab2ab6d4d2a93f4</serial> <alias name='scsi0-0-4'/> <address type='drive' controller='0' bus='0' target='0' unit='4'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/mnt/69c0c442-1b98-3f15-a62d-b371ae1ae4f6/0d4a3931-95c2-443a-86a6-64d1087febb7' index='3'/> <backingStore/> <target dev='sdf' bus='scsi'/> <serial>0d4a393195c2443a86a6</serial> <alias name='scsi0-0-5'/> <address type='drive' controller='0' bus='0' target='0' unit='5'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/mnt/69c0c442-1b98-3f15-a62d-b371ae1ae4f6/6f5b952e-ed5b-49dc-9057-f5ba7064e4fe' index='2'/> <backingStore/> <target dev='sdg' bus='scsi'/> <serial>6f5b952eed5b49dc9057</serial> <alias name='scsi0-0-6'/> <address type='drive' controller='0' bus='0' target='0' unit='6'/> </disk> ``` 4. Add a sixth data disk and check the dumpxml The sixth disk get the bus driver as "virtio" ``` <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/mnt/69c0c442-1b98-3f15-a62d-b371ae1ae4f6/aa2e55b0-4637-47b8-a0aa-97f0eab903ce' index='9'/> <backingStore/> <target dev='vdh' bus='virtio'/> <serial>aa2e55b0463747b8a0aa</serial> <alias name='virtio-disk7'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/mnt/69c0c442-1b98-3f15-a62d-b371ae1ae4f6/8d2f700c-1483-493b-a4c7-522b3554aaae' index='6'/> <backingStore/> <target dev='sdb' bus='scsi'/> <serial>8d2f700c1483493ba4c7</serial> <alias name='scsi0-0-1'/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/mnt/69c0c442-1b98-3f15-a62d-b371ae1ae4f6/97f81648-7abc-4a22-800c-1675b1ef3eec' index='5'/> <backingStore/> <target dev='sdc' bus='scsi'/> <serial>97f816487abc4a22800c</serial> <alias name='scsi0-0-2'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/mnt/69c0c442-1b98-3f15-a62d-b371ae1ae4f6/dd061ab2-ab6d-4d2a-93f4-f368e9c2c62e' index='4'/> <backingStore/> <target dev='sde' bus='scsi'/> <serial>dd061ab2ab6d4d2a93f4</serial> <alias name='scsi0-0-4'/> <address type='drive' controller='0' bus='0' target='0' unit='4'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/mnt/69c0c442-1b98-3f15-a62d-b371ae1ae4f6/0d4a3931-95c2-443a-86a6-64d1087febb7' index='3'/> <backingStore/> <target dev='sdf' bus='scsi'/> <serial>0d4a393195c2443a86a6</serial> <alias name='scsi0-0-5'/> <address type='drive' controller='0' bus='0' target='0' unit='5'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/mnt/69c0c442-1b98-3f15-a62d-b371ae1ae4f6/6f5b952e-ed5b-49dc-9057-f5ba7064e4fe' index='2'/> <backingStore/> <target dev='sdg' bus='scsi'/> <serial>6f5b952eed5b49dc9057</serial> <alias name='scsi0-0-6'/> <address type='drive' controller='0' bus='0' target='0' unit='6'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu'/> <target dev='hdc' bus='ide'/> <readonly/> <alias name='ide0-1-0'/> <address type='drive' controller='0' bus='1' target='0' unit='0'/> </disk> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
