Repository navigation
KVM: disk controllers of new and existing Instances - #704
Draft
andrijapanicsb wants to merge 1 commit into
Draft
andrijapanicsb wants to merge 1 commit into
andrijapanicsb wants to merge 1 commit into
Conversation
Documents how the KVM agent uses rootDiskController and dataDiskController from 24.0.0 on (apache/cloudstack#14844): Instances created or imported with an explicit controller use it on every primary storage type, Instances from before the upgrade keep their disk buses. Adds the steps to move an existing Windows Instance from SATA to VirtIO disks, and rolling upgrade and rollback advice.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In short: this documents how KVM uses the disk controller settings from 24.0.0 on (apache/cloudstack#14844). New and imported Instances with an explicit controller use it on every storage type. Instances that existed before the upgrade keep their disk buses. Operators get the steps to move an existing Windows Instance from SATA to VirtIO disks.
Why it matters. After the upgrade, an operator sets
rootDiskController=virtioon an older Windows Instance and sees no change. If the bus did change without the registry step, Windows would stop with INACCESSIBLE_BOOT_DEVICE (0x7B). The new section explains why, and what to do.skip.force.disk.controller=trueon file-based storagehonour.disk.controller, restartChanges
honour.disk.controller, how root admins list it (fordisplay=false).Depends on apache/cloudstack#14844. The version 24.0.0 follows that PR's target branch (
main).Tested: HTML build with the repository's Sphinx version. The registry step was proven in a test lab on Windows Server 2025 with UEFI Secure Boot (booted from VirtIO after it). Not yet run in the lab: the whole sequence with
add resourcedetailon the reworked code.📚 Documentation preview 📚: https://cloudstack-documentation--704.org.readthedocs.build/en/704/