Skip to content

Disable video console in SNP mode - #2528

Merged
ambarve merged 1 commit into
microsoft:mainfrom
ambarve:video_console_cwcow_fix
Sep 29, 2025
Merged

Disable video console in SNP mode#2528
ambarve merged 1 commit into
microsoft:mainfrom
ambarve:video_console_cwcow_fix

Conversation

@ambarve

@ambarve ambarve commented Sep 26, 2025

Copy link
Copy Markdown
Contributor

Video console is not supported when a UVM is being started in SNP isolation mode. It is anyway always disabled when starting a pod, but uvmboot tool always enabled it until now. This change only enables it if the isolation mode isn't SNP.

Also, adds a new log statement to log the generated UVM HCS doc.

@ambarve
ambarve requested a review from a team as a code owner September 26, 2025 13:26

@helsaawy helsaawy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we also add a check about EnableGraphicsConsole and SNP in "internal\uvm\create.go".verifyOptions?

Comment thread internal/uvm/create_wcow.go Outdated
@ambarve
ambarve force-pushed the video_console_cwcow_fix branch from 1f31fdd to bb8bd2f Compare September 28, 2025 13:40
Video console is not supported when a UVM is being started in SNP isolation mode. It is
anyway always disabled when starting a pod, but uvmboot tool always enabled it until
now. This change only enables it if the isolation mode isn't SNP.

Also, adds a new log statement to log the generated UVM HCS doc.

Signed-off-by: Amit Barve <ambarve@microsoft.com>
@ambarve
ambarve force-pushed the video_console_cwcow_fix branch from bb8bd2f to 66da492 Compare September 28, 2025 13:48

@anmaxvl anmaxvl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: in another PR, define a const maybe?

@ambarve
ambarve merged commit cf12ec2 into microsoft:main Sep 29, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants