Add 'dataDiskController' VM setting/detail for KVM hypervisor#12334
Add 'dataDiskController' VM setting/detail for KVM hypervisor#12334DaanHoogland merged 1 commit intoapache:4.20from
Conversation
|
@blueorangutan package |
|
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #12334 +/- ##
=========================================
Coverage 16.23% 16.23%
- Complexity 13377 13378 +1
=========================================
Files 5657 5657
Lines 498865 498866 +1
Branches 60545 60545
=========================================
+ Hits 80991 81010 +19
+ Misses 408843 408822 -21
- Partials 9031 9034 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16150 |
weizhouapache
left a comment
There was a problem hiding this comment.
code lgtm
Not sure if scsi means virtio iSCSI
I think, it uses the same as for root disk controller. for 'scsi', uses scsi and for others, uses virtio . |
kiranchavala
left a comment
There was a problem hiding this comment.
LGTM
setting got implemented
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none'/>
<source file='/mnt/5832d5d5-6426-3431-83ad-ab691d026e78/8792b232-7b6b-4c25-9e8e-14f34bb2db36' index='3'/>
<backingStore/>
<target dev='sdb' bus='scsi'/>
<serial>8792b2327b6b4c259e8e</serial>
<alias name='scsi0-0-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/5832d5d5-6426-3431-83ad-ab691d026e78/9badfdcc-865d-4eee-8cac-9b5a25cb18fa' index='2'/>
<backingStore/>
<target dev='sdc' bus='scsi'/>
<serial>9badfdcc865d4eee8cac</serial>
<alias name='scsi0-0-0-2'/>
<address type='drive' controller='0' bus='0' target='0' unit='2'/>
```
Description
This PR add 'dataDiskController' VM setting/detail for KVM hypervisor.
'dataDiskController' VM setting support added to KVM in 4.16.0, here: #4569, but the option is not included in the VM settings shown for KVM hypervisor.
cloudstack/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
Lines 4336 to 4353 in b394b5b
Fixes #12327
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Able to set dataDiskController setting for VM on KVM hypervisor.
How did you try to break this feature and the system with this change?