You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "bhouse-nexthop (via GitHub)" <gi...@apache.org> on 2025/05/23 20:45:25 UTC
[D] How to set root disk controller for KVM [cloudstack]
GitHub user bhouse-nexthop created a discussion: How to set root disk controller for KVM
I see in the global settings its possible to set the vmware root disk controller type. But I don't see an equivalent for KVM. How is this set?
I also am not seeing it when inspecting the VM settings in the UI.
I can see in a booted linux VM that it shows it is using virtio-blk, however. I would like to be able to test virtio-scsi.
GitHub link: https://github.com/apache/cloudstack/discussions/10913
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] How to set root disk controller for KVM [cloudstack]
Posted by "bernardodemarco (via GitHub)" <gi...@apache.org>.
GitHub user bernardodemarco added a comment to the discussion: How to set root disk controller for KVM
Hello, @bhouse-nexthop
With KVM, the root disk controller can be defined per template and overridden for individuals VMs. For templates, it can be configured in the Settings tab of the template details page:

VMs inherit the configuration from the template, but the setting can be modified at the VM level. For that, the VMs must be in the `Stopped` state:

It is important to note that the screenshots above were taken using a root admin account. There are two global settings that manage end-user access to VM settings:
- `user.vm.denied.details`: Determines which VM settings are hidden from users.
- `user.vm.readonly.details`: Determines which VM settings are read-only for users.
Therefore, to allow end-users to view the root disk controller of their VMs, `rootDiskController` must not be listed in `user.vm.denied.details`. Similarly, to allow users to edit this value, it must not be listed in both global settings.
Hope it helps :),
Bernardo De Marco Gonçalves
GitHub link: https://github.com/apache/cloudstack/discussions/10913#discussioncomment-13251653
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] How to set root disk controller for KVM [cloudstack]
Posted by "bernardodemarco (via GitHub)" <gi...@apache.org>.
GitHub user bernardodemarco added a comment to the discussion: How to set root disk controller for KVM
As far as I know, it's only possible to define the root disk controller globally for VMware. However, we can create an issue to add a similar setting for KVM as well.
GitHub link: https://github.com/apache/cloudstack/discussions/10913#discussioncomment-13252051
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] How to set root disk controller for KVM [cloudstack]
Posted by "bradh352 (via GitHub)" <gi...@apache.org>.
GitHub user bradh352 added a comment to the discussion: How to set root disk controller for KVM
Is there any way to set a global default for any newly created vms or templates? I do see it now if you know the key to use to add to settings, thanks!
GitHub link: https://github.com/apache/cloudstack/discussions/10913#discussioncomment-13251864
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] How to set root disk controller for KVM [cloudstack]
Posted by "bhouse-nexthop (via GitHub)" <gi...@apache.org>.
GitHub user bhouse-nexthop closed a discussion: How to set root disk controller for KVM
I see in the global settings its possible to set the vmware root disk controller type. But I don't see an equivalent for KVM. How is this set?
I also am not seeing it when inspecting the VM settings in the UI.
I can see in a booted linux VM that it shows it is using virtio-blk, however. I would like to be able to test virtio-scsi.
GitHub link: https://github.com/apache/cloudstack/discussions/10913
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org