Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vm : add vmResolution field to VmConfig #71

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

shjala
Copy link
Member

@shjala shjala commented Oct 17, 2024

The vm_resolution field is used to set the custom resolution for the VM running in FML mode. This is to move FmlCustomResolution from cloud-init to AppInstanceConfig.

@@ -80,4 +80,6 @@ message VmConfig {
bool enable_vnc_shim_vm = 22;
// Boot mode: Legacy or UEFI
VmBootMode boot_mode = 23;
// Custom resolution applies to VM that is runing in FML mode only.
string vmResolution = 24;
}
Copy link
Member

Choose a reason for hiding this comment

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

As far as I remember, the config that comes in vm.proto becomes a part of FixedResources. As far as I remember, it means we cannot change this part of config after the App has started without purging the app. I think the resolution should be more dynamic. In this case it should become a part of appconfig.proto

Copy link
Member Author

Choose a reason for hiding this comment

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

good point, I'll update the PR.

The vm_resolution field is used to set the custom resolution for the VM
running in FML mode.

Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
Copy link
Contributor

@eriknordmark eriknordmark left a comment

Choose a reason for hiding this comment

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

LGTM

@eriknordmark eriknordmark merged commit ee10555 into lf-edge:main Oct 24, 2024
4 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